We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3bd4ef commit 6c3bed0Copy full SHA for 6c3bed0
vite.config.ts
@@ -64,8 +64,9 @@ export default defineConfig(({ mode }) => {
64
sourcemap: isProd,
65
rollupOptions: {
66
output: {
67
- chunkFileNames: 'chunk-[name].[hash].js',
68
- entryFileNames: 'entry-[name].[hash].js',
+ chunkFileNames: `${env.npm_package_version}/chunk-[name].[hash].js`,
+ entryFileNames: `${env.npm_package_version}/entry-[name].[hash].js`,
69
+ assetFileNames: `${env.npm_package_version}/asset-[name]-[hash].[ext]`,
70
manualChunks: {
71
'mapbox-gl': ['mapbox-gl'],
72
'exceljs': ['exceljs'],
0 commit comments