mirror of
https://github.com/usememos/memos.git
synced 2025-10-27 23:06:24 +08:00
chore: update rollup options
This commit is contained in:
parent
786c6f672e
commit
add099b89d
1 changed files with 1 additions and 6 deletions
|
|
@ -47,15 +47,10 @@ export default defineConfig({
|
|||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: "assets/app.[hash].js",
|
||||
chunkFileNames: "assets/[name].[hash].js",
|
||||
assetFileNames: "assets/[name].[hash][extname]",
|
||||
manualChunks: {
|
||||
"react-vendor": ["react", "react-dom", "react-router-dom"],
|
||||
"mui-vendor": ["@mui/joy", "@emotion/react", "@emotion/styled"],
|
||||
"utils-vendor": ["dayjs", "lodash-es", "mobx", "mobx-react-lite"],
|
||||
"utils-vendor": ["dayjs", "lodash-es"],
|
||||
"katex-vendor": ["katex"],
|
||||
"highlight-vendor": ["highlight.js"],
|
||||
"mermaid-vendor": ["mermaid"],
|
||||
"leaflet-vendor": ["leaflet", "react-leaflet"],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue