A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
monograph: mark `sharp` as external in ssr build
Abdullah Atta48459efdb1d9
diff --git a/apps/monograph/vite.config.ts b/apps/monograph/vite.config.tsindex 68a9af3ce..9155f6aab 100644--- a/apps/monograph/vite.config.ts+++ b/apps/monograph/vite.config.ts@@ -75,7 +75,7 @@ export default defineConfig(({ isSsrBuild }) => ({}},ssr: {- ...(process.env.NODE_ENV === "development" ? {} : { noExternal: true }),+ ...(process.env.NODE_ENV === "development" ? {} : { noExternal: true, external: ["sharp"] }),target: "node"},build: {