You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dev mode - Everything works as expected end to end
Release build -
Build process works without error:
Build steps:
Install dependencies: npm install
Run package script: npm run package
App is generated in out/ in the format supported by platform it is built on
Running the generated app works fine:
Err occurs, after selecting a JSON file for import, i.e. when sqlite3 is being required by Sequelize.
Essentially, sqlite3 isn't being made available in the release build, since it is a native module, it needs some particular config changes in webpack so that it can be available in the release build too.
The text was updated successfully, but these errors were encountered:
Update: Current code in branch v4.0-react-typescript builds fine, but has larger bundle size due to raw node_modules being added into the package(this must be prevented to reduce package size)
Dev mode - Everything works as expected end to end
Release build -
Build steps:
npm install
npm run package
out/
in the format supported by platform it is built onRunning the generated app works fine:

Err occurs, after selecting a JSON file for import, i.e. when sqlite3 is being

required
by Sequelize.Essentially, sqlite3 isn't being made available in the release build, since it is a native module, it needs some particular config changes in webpack so that it can be available in the release build too.
The text was updated successfully, but these errors were encountered: