diff --git a/package.json b/package.json index f375bc78..ddefd47a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/vite.config.js b/vite.config.js index 43528965..12566113 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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(); @@ -46,6 +47,12 @@ export default defineConfig({ ], }, }), + CodeInspectorPlugin({ + bundler: 'vite', + behavior: { + copy: '{file}', + }, + }), ], resolve: { alias: {