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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: tweak vite config
Johnnyf60906ce33eb
diff --git a/web/vite.config.ts b/web/vite.config.tsindex 676cbc9e1..64f3359ef 100644--- a/web/vite.config.ts+++ b/web/vite.config.ts@@ -43,12 +43,8 @@ export default defineConfig({build: {rollupOptions: {output: {- entryFileNames: "app.[hash].js",- chunkFileNames: (chunkInfo) => {- const facadeModuleId = chunkInfo.facadeModuleId ? chunkInfo.facadeModuleId.split("/") : [];- const name = facadeModuleId[facadeModuleId.length - 2] || "[name]";- return `assets/${name}/[name].[hash].js`;- },+ entryFileNames: "assets/app.[hash].js",+ chunkFileNames: "assets/[name].[hash].js",assetFileNames: "assets/[name].[hash][extname]",manualChunks: {"react-vendor": ["react", "react-dom", "react-router-dom"],@@ -57,7 +53,7 @@ export default defineConfig({"katex-vendor": ["katex"],"highlight-vendor": ["highlight.js"],"mermaid-vendor": ["mermaid"],- "map-vendor": ["leaflet", "react-leaflet"],+ "leaflet-vendor": ["leaflet", "react-leaflet"],},},},