mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update rollup options
This commit is contained in:
@@ -47,15 +47,10 @@ export default defineConfig({
|
|||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
entryFileNames: "assets/app.[hash].js",
|
|
||||||
chunkFileNames: "assets/[name].[hash].js",
|
|
||||||
assetFileNames: "assets/[name].[hash][extname]",
|
|
||||||
manualChunks: {
|
manualChunks: {
|
||||||
"react-vendor": ["react", "react-dom", "react-router-dom"],
|
|
||||||
"mui-vendor": ["@mui/joy", "@emotion/react", "@emotion/styled"],
|
"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"],
|
"katex-vendor": ["katex"],
|
||||||
"highlight-vendor": ["highlight.js"],
|
|
||||||
"mermaid-vendor": ["mermaid"],
|
"mermaid-vendor": ["mermaid"],
|
||||||
"leaflet-vendor": ["leaflet", "react-leaflet"],
|
"leaflet-vendor": ["leaflet", "react-leaflet"],
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user