diff --git a/vite.config.ts b/vite.config.ts index ade0817..276e07e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -54,5 +54,13 @@ export default defineConfig({ css: { devSourcemap: true, }, -}, -) + build: { + rollupOptions: { + output: { + chunkFileNames: `static/js/md-[name]-[hash].js`, + entryFileNames: `static/js/md-[name]-[hash].js`, + assetFileNames: `static/[ext]/md-[name]-[hash].[ext]`, + }, + }, + }, +})