-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to webpack 5 for website, update other dependencies (#706)
The main challenges with swtiching to webpack 5 were: * Webpack 5 dropped automatic implementations of node packages and globals, so I needed to add them back in order for babel and TS to work properly. * Webpack 5 implemented native support for workers as their own bundle. Unfortunately, this still has the issue where the worker is blocked while the import is happening, so I kept the existing implementation of using `fetch` to pre-fetch the dependency so that the worker is interactive in the meantime. Webpack changed its chunk file naming, so I needed to update the logic to account for that. This PR also removed a few other things from create-react-app that we weren't using.
- Loading branch information
1 parent
3c16843
commit c6cfacc
Showing
8 changed files
with
495 additions
and
1,311 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
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
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.