Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Glpk.js via NPM rather than include the source directly #2

Open
wetneb opened this issue Apr 2, 2020 · 0 comments
Open

Import Glpk.js via NPM rather than include the source directly #2

wetneb opened this issue Apr 2, 2020 · 0 comments

Comments

@wetneb
Copy link

wetneb commented Apr 2, 2020

Glpk.js is currently copied in the source folder, in src/util/glpk.js.

Instead, it should be added in package.json as a dependency:
https://www.npmjs.com/package/glpk.js

This should let you upgrade to a newer version of Glpk.js (3.0.0), which uses WebAssembly instead of pure JS. This should help reduce the size of the Webpack bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant