-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We want to dynamically import the bitbox02-api package and split it out of the main bundle. After many different attempts we only found that it works when upgrading to webpack 5, hence this commit. The upgrade was performed by following https://webpack.js.org/migrate/5/. The `require.resolve('...`) additions were upgrade fixes suggested by webpack itself on the command line. Other references used: webpack/changelog-v5#10 (comment) https://stackoverflow.com/questions/41359504/webpack-bundle-js-uncaught-referenceerror-process-is-not-defined
- Loading branch information
Showing
4 changed files
with
460 additions
and
1,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.