Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update rollup options

Stevenadd099b89d9f
diff --git a/web/vite.config.ts b/web/vite.config.ts
index aa792e76a..d3c60128b 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -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"],
},