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.
2 parents 43a1eb3 + 081e484 commit 24ee64cCopy full SHA for 24ee64c
package.json
@@ -42,6 +42,7 @@
42
},
43
"scripts": {
44
"start": "vite",
45
+ "preview": "vite preview",
46
"build:web": "VITE_BUILD_TARGET=web ./script/build.sh",
47
"build:ext": "VITE_BUILD_TARGET=extension ./script/build.sh",
48
"build:firefox": "VITE_BUILD_PLATFORM=firefox ./script/build-firefox.sh",
vite.config.ts
@@ -37,7 +37,7 @@ export default defineConfig(({ mode }) => {
37
rollupOptions: {
38
output: {
39
entryFileNames: `assets/[name].js`,
40
- chunkFileNames: `assets/[name].js`,
+ chunkFileNames: `assets/[name]-[hash].js`,
41
assetFileNames: `assets/[name].[ext]`,
manualChunks: {
core: [
0 commit comments