Skip to content

Commit

Permalink
perf: split activities.json from index (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
orionna319 committed Nov 27, 2023
1 parent 048e941 commit 3f9584a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@ export default defineConfig({
build: {
manifest: true,
outDir: './dist', // for user easy to use, vercel use default dir -> dist
rollupOptions: {
output: {
manualChunks: (id: string) => {
if (id.includes('activities')) {
return 'activities'
}
},
}
},
},
});

1 comment on commit 3f9584a

@vercel
Copy link

@vercel vercel bot commented on 3f9584a Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

running-page – ./

running-page.vercel.app
running-page-git-master-yihong0618.vercel.app
running-page-yihong0618.vercel.app

Please sign in to comment.