-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webui generates es2017 output and removes confusing babel config
Babel dependencies were configured but not actually used by any webui bundles since they are all typescript. Typescript was not configured to output using the latest features supported by v8. This re-configuration ensures: - TS output is transpiled to es2017 JS and no further, which should allow for optimizations. Previously it was es5. - es module syntax is preserved, allowing webpack to tree shake - async lazy-load import() syntax is preserved, allowing webpack to perform chunking This also fixes an issue whereby linking brave-ui dependency from a local path would prevent webui compilation.
- Loading branch information
Showing
8 changed files
with
143 additions
and
975 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.