Benjamin Pasero
95917c1376
eng - throw if minified output contains non-ascii characters ( #178590 )
2023-03-30 09:26:11 +02:00
Alexandru Dima
0255bb0b03
If defined, use the runtime configured baseUrl ( #176573 )
2023-03-09 07:20:15 -07:00
Johannes
696c1cf199
build utils with source map to enable JS debug console
2022-11-10 15:05:47 +01:00
Benjamin Pasero
9db57e76e9
Build: bundle / concat entry points ( #161161 )
...
* perf - concatenate windows main files
* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957 )" (#161118 )"
This reverts commit 84c46b71a5 .
* build - exclude server main files
* build - make concat a task that runs like the others
* some renames
* Avoid overwriting the nodejs closure require
* Revert "build - exclude server main files"
This reverts commit 736516624e .
Co-authored-by: Alex Dima <alexdima@microsoft.com >
2022-09-21 00:38:44 -07:00
Benjamin Pasero
84c46b71a5
Revert "Use esbuild to bundle some CommonJS main files ( #160957 )" ( #161118 )
...
This reverts commit 2179e52fb9 .
2022-09-16 09:31:44 -07:00
Benjamin Pasero
2179e52fb9
Use esbuild to bundle some CommonJS main files ( #160957 )
...
* ensure node.js `require` is captured
* optimize `main.js` and `cli.js`
* cleanup
* leave out bundled files
* drop package.json from userdata paths
* fix web task
* fix editor distro
* inline version into `product.json`
* also bundle server
* t
* actually do server too
* Keep bundling nls in editor worker
Co-authored-by: Alex Dima <alexdima@microsoft.com >
2022-09-16 05:24:23 -07:00
Matt Bierner
2a84b0fb6d
Enable alwaysStrict for build scripts ( #152778 )
...
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Alexandru Dima
0d160ac237
Fix bundling ( #152389 )
...
* Ensure stable order in bundled loader.js
* Avoid packaging build version of loader plugins
2022-06-16 21:05:10 +00:00
Alexandru Dima
9db5a3674e
Bring the nls loader plugin into our sources ( #152338 )
2022-06-16 22:01:19 +02:00
Joao Moreno
35c70dc0a2
minify svgs
...
Related-to: #140159
2022-01-07 15:14:23 +01:00
Alex Dima
fb659f1542
Add IOptimizeTaskOpts.externalLoaderInfo
2021-10-16 11:43:36 +02:00
Logan Ramos
d2a8f91fb5
Update build scripts
2021-08-31 10:21:19 -04:00
Matt Bierner
0762d23ae7
Build VS Code using TS 4.4 ( #127823 )
...
* Build VS Code using TS 4.4
* Remove usages of deprecated `ClientRectList`
* Add any casts for missing `caretRangeFromPoint`
* Add temporary any casts for `zoom` css propery
This non-standard css property no longer exists in lib.dom.d.ts
* MouseWheelEvent -> WheelEvent
* Pick up new TS nightly
Co-authored-by: Alexandru Dima <alexdima@microsoft.com >
2021-07-08 14:27:39 -07:00
Johannes Rieken
413b9019a6
configure esbuild with esnext. means no harm since TS already compiles with lower es2020, https://github.com/microsoft/vscode/issues/121144
2021-06-25 16:31:44 +02:00
Benjamin Pasero
15aca96cd5
build - unblock lauching
2021-06-03 07:21:15 +02:00
João Moreno
62e8b545f7
missing build
2021-05-26 20:38:28 +02:00
João Moreno
0a7a69f190
fix build compilation
2021-05-26 13:30:43 +02:00
João Moreno
cf4c4a0ece
drop gulp-cssnano, use gulp-postcss
2021-01-22 10:49:30 +01:00
João Moreno
22b9a2b1e8
update esbuild
2021-01-06 14:19:19 +01:00
João Moreno
7449d86b89
use esbuild for minification
2021-01-05 11:54:18 +01:00
Alexandru Dima
c1eb24b027
Load expensive node modules lazily
2020-12-22 19:55:56 +01:00
Alexandru Dima
d1fff1a083
Check in .js files from the /build/ folder to improve build speeds
2020-12-14 11:13:16 +01:00
João Moreno
2469bf6832
remove build compilation output
2020-09-22 11:12:55 +02:00
Alex Dima
9198116ded
Add IOptimizeTaskOpts.fileContentMapper
2020-07-28 17:40:06 +02:00
Alex Dima
bb95f3aa40
Adopt loader's amdModulesPattern option
2020-07-07 23:30:27 +02:00
Alex Dima
8032df1228
Do not create a sourcemap for loader.js
2020-04-25 15:33:03 +02:00
Alex Dima
cc46bf5cfd
Remove registerAndGetAmdImageURL and support for it in the build scripts
2020-03-27 19:45:41 +01:00
Matt Bierner
ff253a8f60
Build VS Code with TS 3.9-nightly
2020-02-29 11:45:48 -08:00
Benjamin Pasero
0030e6ee92
🆙 terser@4.3.1 ( #80627 )
2019-09-10 10:57:54 +02:00
isidor
a33e554693
adopt registerAndGetAmdImageURL
...
fixes #80563
2019-09-09 18:15:11 +02:00
Alex Dima
1ba4dc6954
Introduce registerAndGetAmdImageURL and inline such images in the bundle phase in .js
2019-09-09 17:17:12 +02:00
Benjamin Pasero
c7d4c3ce1b
Use terser for minification ( #80201 )
...
* build - minify using terser
* fix minification issues
* build ffs
* Update .cachesalt
* add comment
2019-09-02 11:19:26 +02:00
Benjamin Pasero
1648e1dcf8
web - add build
2019-07-14 13:12:54 +02:00
Rob Lourens
aeaef41d51
Fix #68805
2019-02-19 18:05:55 -08:00
Alex Dima
f88e4f457a
Adopt changes in gulp.src
2019-02-06 10:15:36 +01:00
Alex Dima
b4445a9f73
Move away from deprecated gulp-util
2019-02-05 22:21:05 +01: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
Matt Bierner
ac737307d7
Enable noImplicitAny in build
2018-10-03 10:47:32 -07:00
Matt Bierner
fe45a7d21f
Fix remaining strict null errors in build scripts
2018-10-03 10:47:32 -07:00
Johannes Rieken
07141d4e6b
print all stats at the end of the package task
2018-09-03 11:51:26 +02:00
Johannes Rieken
165bb1aa63
tweaks, add the stream to the bundle step
2018-08-31 13:28:24 +02:00
Alex Dima
933c8d4b06
Bring back nls bundles for the editor
2018-08-12 15:46:41 +02:00
Alex Dima
5a52c24f11
Add an alternative optimize-editor task
2018-07-20 11:26:31 +02:00
Dirk Baeumer
b8b60dd487
Remove core language pack from build
2018-06-19 10:43:23 +02:00
Joao Moreno
1217419309
missing build compilation
2018-02-26 17:25:09 +01:00
Dirk Baeumer
04594c864b
Add support for Language Packs
2018-01-25 21:14:34 +01:00
Dirk Baeumer
af52203ece
Limit the line length of the minified code to 1024 to make the chrome dev tools work with workbench.main.js
2017-11-14 17:22:41 +01:00
Joao Moreno
1cf93ab736
update to uglify-es
2017-06-20 11:45:37 +02:00
Michel Kaporin
fb4a49b000
Target only core languages for the stable build. Ref #27818
2017-06-01 12:54:18 +02:00
Joao Moreno
74fab50d5d
consolidate build package.json
2017-05-16 08:56:21 +02:00