Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore: update build command

ammarahm-edb2fdf95bce35
diff --git a/packages/editor-mobile/package.json b/packages/editor-mobile/package.json
index fc8df0367..ccf8b4e1b 100644
--- a/packages/editor-mobile/package.json
+++ b/packages/editor-mobile/package.json
@@ -31,7 +31,7 @@
},
"scripts": {
"start": "BROWSER=none react-scripts start",
- "build": "GENERATE_SOURCEMAP=false react-scripts build",
+ "build": "GENERATE_SOURCEMAP=false react-scripts build && rm -rf ../notesnook-mobile/web.bundle/ && mkdir ../notesnook-mobile/web.bundle && cp -R ./build/* ../notesnook-mobile/web.bundle/",
"test": "react-scripts test",
"eject": "react-scripts eject",
"postinstall": "patch-package"