Files
brave-core/tsconfig-jest.json
T
petemill 10b86f300d 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.
2018-12-05 12:50:25 -08:00

7 lines
83 B
JSON

{
"extends": "./tsconfig",
"compilerOptions": {
"module": "commonjs"
}
}