Commit Graph

11 Commits

Author SHA1 Message Date
Matt Bierner
f28c02195a Revert two bad loop conversions in build 2019-01-03 19:35:20 -08:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08: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
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
fe45a7d21f Fix remaining strict null errors in build scripts 2018-10-03 10:47:32 -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