Skip to content

Commit

Permalink
Merge pull request #143 from hduhdc/main
Browse files Browse the repository at this point in the history
feat: code-inspector-plugin
  • Loading branch information
jason5ng32 authored Mar 20, 2024
2 parents 5655b6d + f0ae574 commit c518359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"analytics": "^0.8.9",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.3",
"code-inspector-plugin": "^0.10.0",
"concurrently": "^8.2.2",
"country-code-lookup": "^0.1.1",
"dotenv": "^16.4.1",
Expand Down
7 changes: 7 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import dotenv from 'dotenv';
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { VitePWA } from 'vite-plugin-pwa'
import { CodeInspectorPlugin } from 'code-inspector-plugin';

dotenv.config();

Expand Down Expand Up @@ -46,6 +47,12 @@ export default defineConfig({
],
},
}),
CodeInspectorPlugin({
bundler: 'vite',
behavior: {
copy: '{file}',
},
}),
],
resolve: {
alias: {
Expand Down

0 comments on commit c518359

Please sign in to comment.