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 c95eda1 commit 78dff8fCopy full SHA for 78dff8f
vite.config.js
@@ -28,10 +28,10 @@ export default ({ mode }) => {
28
if (/png|jpe?g|svg|gif|tiff|bmp|ico/i.test(extType)) {
29
extType = 'img'
30
}
31
- return `static/${extType}/[name]-[hash][extname]`
+ return `static/${extType}/[hash][extname]`
32
},
33
- chunkFileNames: 'static/js/[name]-[hash].js',
34
- entryFileNames: 'static/js/[name]-[hash].js'
+ chunkFileNames: 'static/js/[hash].js',
+ entryFileNames: 'static/js/[hash].js'
35
36
plugins: []
37
0 commit comments