Benjamin Pasero
89f039ff9f
esm - fancyLog for bundle messages ( #230638 )
2024-10-06 09:27:18 -07:00
Benjamin Pasero
dc265add0b
esm - drop need for manual concat ( #230571 )
2024-10-06 14:12:20 +02:00
Benjamin Pasero
9bd60d090a
esm - better content mapper to address sourcemaps ( #230476 )
2024-10-04 15:34:21 +02:00
Benjamin Pasero
3b68a06818
esm - removal of CSS loader ( #230206 )
2024-10-01 19:24:18 +02:00
Benjamin Pasero
36b52aa938
esm - inline minimist ( #230155 )
...
* esm - inline `minimist`
* .
* .
* .
2024-09-30 13:13:42 -07:00
Benjamin Pasero
7d428d77a0
esm - remove build support for prepend
2024-09-27 08:05:22 +02:00
Benjamin Pasero
87f3486f5f
esm - restore default header
2024-09-27 08:05:16 +02:00
Benjamin Pasero
c7caef00ea
esm - make optimize.ts ESM only
2024-09-27 08:05:06 +02:00
Benjamin Pasero
b544846460
esm - further cleanup build scripts
2024-09-27 08:04:56 +02:00
Benjamin Pasero
c1952297c5
esm - cleanup editor worker build descriptors
2024-09-27 08:04:36 +02:00
Benjamin Pasero
332b89f198
esm - remove AMD build scripts, tests and variables
2024-09-27 08:04:01 +02:00
Benjamin Pasero
9784b5e1e6
esm - restore our copyright header in built files ( #229751 )
2024-09-25 21:48:02 +02:00
Benjamin Pasero
7d5cc34a5d
esm - try to restore sourcemaps (fix microsoft/vscode-internalbacklog#5073) ( #228303 )
...
esm - try to restore sourcemaps
2024-09-11 21:14:53 -07:00
Benjamin Pasero
21135c81b5
esm - provide a bridge to AMD world ( #227361 )
2024-09-02 12:09:12 -07:00
Benjamin Pasero
6b924c5152
ESM merge to main ( #227184 )
...
Co-authored-by: Johannes Rieken <jrieken@microsoft.com >
Co-authored-by: Alexandru Dima <alexdima@microsoft.com >
2024-08-30 10:31:46 +02:00
Benjamin Pasero
34a756ae2e
esm - worker cleanup ( #226064 )
2024-08-20 17:51:26 +02:00
Benjamin Pasero
3dc8c38c92
esm - some build polish ( #225948 )
2024-08-19 16:54:29 +02:00
Benjamin Pasero
0dea4804f4
esm - introduce VSCODE_BUILD_ESM variable ( #225586 )
2024-08-14 14:49:26 +02:00
Benjamin Pasero
2014f1ddb2
nls - removal of loader plugin ( #219098 )
2024-06-28 15:45:52 +02:00
Benjamin Pasero
f6f90e0163
Implement NLS without AMD loader ( #214588 )
2024-06-28 11:55:48 +02:00
Connor Peet
87780c04c8
eng: fix CSS tooling crashes watch task ( #209278 )
...
Get rid of the gulp-postcss plugin and just implement our own, I couldn't get it to work.
Fixes #207827
2024-04-01 20:15:25 +02:00
Benjamin Pasero
95917c1376
eng - throw if minified output contains non-ascii characters ( #178590 )
2023-03-30 09:26:11 +02:00
yiliang114
ef3dbb5e11
fix: typos
2023-03-10 20:02:01 +08:00
Alexandru Dima
0255bb0b03
If defined, use the runtime configured baseUrl ( #176573 )
2023-03-09 07:20:15 -07: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
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
João Moreno
9cba86888c
update node version in optimize
2021-05-26 13:32:50 +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
b99faeeb3c
fix minification target
2021-01-05 16:46:54 +01:00
João Moreno
7449d86b89
use esbuild for minification
2021-01-05 11:54:18 +01:00
João Moreno
fc4b40b633
fix type casts
2021-01-04 15:54:59 +01:00
Alexandru Dima
c1eb24b027
Load expensive node modules lazily
2020-12-22 19:55:56 +01:00
Martin Aeschlimann
a2a0fe56a0
Error: base must be a non-empty string, or null/undefined.
2020-10-26 20:22:34 +01: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
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