Commit Graph
15 Commits
Author SHA1 Message Date
Peter Snyder dcbd065766 correct cosmetic filtering tests, fixes brave/brave-browser#9955 2021-01-29 19:18:49 -08:00
Pete Miller 4bb3e78cdb Allow IDEs (Visual Studio Code) to provide Tyepscript syntax highlighting for types within components/defintions/*.d.ts files 2020-11-07 20:58:49 -08:00
Pete Miller d2675a1123 Cosmetic filtering content script: fix mutation handler attribute modification and add stronger types 2020-02-03 21:43:44 -08:00
Brian R. Bondy 22655b3e8b Combine brave-extension types with brave-core 2019-02-21 17:30:01 -05:00
Cezar Augusto cc17e09fd3 use different tsconfig for linter
fix https://github.com/brave/brave-browser/issues/2669
2019-01-11 10:13:57 -08:00
Cezar Augusto 1747078973 fix broken tests after lint fix
fix https://github.com/brave/brave-browser/issues/2667
2018-12-20 05:50:42 -02:00
Cezar Augusto ec3eac3a2f fix TypeScript linter
fix https://github.com/brave/brave-browser/issues/2666
2018-12-20 03:43:52 -02:00
petemill 78274a0623 Use sha ref for brave-ui dependency instead of npm-published version 2018-12-07 11:01:52 -08:00
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
petemill a1f4a481a8 Improve webpack speed by ensuring typescript only compiles imported files
Previously typescript would compile and type-check every single .(ts|tsx) file in the source tree, for every single webpack target.
2018-11-19 10:13:04 -08:00
Cezar Augusto 07cd6a5e9e improve generateQRCodeImageSource
auditors: @AlexeyBarabash
2018-11-01 18:02:39 +02:00
Cezar Augusto 8587c52317 add sync extension to typescript exclusion list 2018-11-01 18:02:39 +02:00
Jocelyn Liu 4ebe7e4147 Implement webtorrent component 2018-08-30 14:20:50 -07:00
NejcZdovc 44179e4747 Exclude tests from TS 2018-08-01 07:16:12 +02:00
NejcZdovc a489016a2b Adds tslint, travis
Adds ts-loader; Removes standard
2018-07-16 13:46:20 +02:00