Commit Graph

20 Commits

Author SHA1 Message Date
Alex Dima
33f8b720d1 Fix tree shaking 2020-03-16 14:11:33 +01:00
Alex Dima
8192262a14 Add more support for exported imports in tree shaking 2020-03-05 18:25:28 +01:00
Alex Dima
39fed576a4 Better support for shorthand property assignment in the treeshaker 2020-03-05 15:58:37 +01:00
Alex Dima
68351085db Fix treeshaking, not all export clauses should be kept 2020-03-05 10:25:06 +01:00
Johannes Rieken
4a9931ec4e treeshaker should keep [Symbol.iterator]-members because there are implict references from for-of loops 2020-03-03 11:56:12 +01:00
Johannes Rieken
27bc032975 nuke special lib options and use compiler option's lib instead 2020-03-02 13:44:22 +01:00
Matt Bierner
ff253a8f60 Build VS Code with TS 3.9-nightly 2020-02-29 11:45:48 -08:00
Alexandru Dima
b5ce6014d7 Improve output in case of errors and generate an analysis folder with the source content (for easy diffing) 2019-11-13 11:15:38 +01:00
Alexandru Dima
032925e74e Improve error reporting during treeshaking 2019-11-13 11:15:36 +01:00
Alex Dima
135c473ddf Fixes #77454:
- do not cary over unnecessary "extends" in tsconfig.json
- keep members ending with `Brand`, but do it at the right phase
- remove shorthand literal usage which confuses tree-shaker
- add back noImplicitAny
2019-07-29 15:39:29 +02:00
Joao Moreno
a6ebfe5082 missing compilation 2019-01-04 11:24:53 +01:00
Alex Dima
e4b1db51cc Fixes #65040 2018-12-17 15:43:09 +01:00
Alex Dima
6e465986a7 Fix editor publishing scripts (on Windows) 2018-11-13 15:31:28 +01:00
Matt Bierner
9375a38648 Fixing editor-distro compile error
Fixes #61741
2018-10-24 22:53:33 -07:00
Matt Bierner
3fcb671444 Use es2017 as target for build scripts (#60707)
Upgrades our build scripts to target ES2017 since they are run on modern versions of node

This allows us to remove shims for es6 features such as `Object.assign`, and also remove a few extra typings packages
2018-10-12 11:24:15 -07:00
Alex Dima
d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Matt Bierner
e8475ad59f Enable noUnusedParameters in build scripts 2018-10-03 17:26:47 -07:00
Matt Bierner
ddc5eeee01 Fixing more strict null errors in build 2018-10-03 10:47:32 -07:00
Alex Dima
09ec2eb1e4 Use the new optimize-editor task 2018-07-20 11:26:32 +02:00
Alex Dima
03103a4f66 Add extract-editor-src with treeshaking task 2018-07-20 11:26:31 +02:00