Skip to content

Commit

Permalink
build(vite): reorder plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 15, 2023
1 parent 43f0fe2 commit 70e70ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ export default defineConfig(async () => ({
...(await forkJoin(globalConstants)),
},
plugins: [
react(),
unocss(),
react(),
splitVendorChunkPlugin(),
pwa({
manifestFilename: 'app.webmanifest',
registerType: 'prompt',
Expand Down Expand Up @@ -89,7 +90,6 @@ export default defineConfig(async () => ({
],
},
}),
splitVendorChunkPlugin(),
],
resolve: {
alias: {
Expand Down

0 comments on commit 70e70ec

Please sign in to comment.