Skip to content

Commit

Permalink
Merge pull request #183 from medyo/fix/chunk-hash
Browse files Browse the repository at this point in the history
Fix/chunk hash
  • Loading branch information
medyo authored Dec 27, 2023
2 parents 43a1eb3 + 081e484 commit 24ee64c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"scripts": {
"start": "vite",
"preview": "vite preview",
"build:web": "VITE_BUILD_TARGET=web ./script/build.sh",
"build:ext": "VITE_BUILD_TARGET=extension ./script/build.sh",
"build:firefox": "VITE_BUILD_PLATFORM=firefox ./script/build-firefox.sh",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineConfig(({ mode }) => {
rollupOptions: {
output: {
entryFileNames: `assets/[name].js`,
chunkFileNames: `assets/[name].js`,
chunkFileNames: `assets/[name]-[hash].js`,
assetFileNames: `assets/[name].[ext]`,
manualChunks: {
core: [
Expand Down

0 comments on commit 24ee64c

Please sign in to comment.