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.
7 lines
83 B
JSON
7 lines
83 B
JSON
{
|
|
"extends": "./tsconfig",
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
}
|