Commit Graph

40 Commits

Author SHA1 Message Date
Alex Dima
b5e4fea275 Simplify buildfile around web workers 2025-03-21 10:32:35 +01:00
Alex Dima
ce0b72f9ce Delete unused code 2025-03-20 23:34:14 +01:00
Aman Karmani
e76c50f20e build: switch build/tsconfig.json to module: nodenext (#238426)
* build/tsconfig: switch to module: nodenext for bun compat

* build: rewrite imports for nodenext compat

* build: re-generate
2025-01-22 20:12:39 +01:00
Aman Karmani
649d3e29c3 build: update to include more tsc boilerplate 2025-01-21 16:46:16 -08:00
Benjamin Pasero
7d428d77a0 esm - remove build support for prepend 2024-09-27 08:05:22 +02:00
Benjamin Pasero
c1952297c5 esm - cleanup editor worker build descriptors 2024-09-27 08:04:36 +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
Johannes Rieken
c0cdcac061 adjust bundle-util for ESM world reuse (#221372) 2024-07-10 16:50:00 +02:00
Benjamin Pasero
2014f1ddb2 nls - removal of loader plugin (#219098) 2024-06-28 15:45:52 +02:00
Johannes
09981a84af configure esModuleInterop: true, change some star-imports 2024-06-03 16:50:28 +02: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
Alexandru Dima
5e7d488b7c Improve error message when a module cannot be bundled and exclude vs/nls from bundles (#152188) 2022-06-15 12:51:27 +00:00
Matt Bierner
1d77856203 Use ?.forEach instead of ( || []).forEach 2022-02-28 13:52:59 -08:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima
c30ffc4a7e Fix problem with duplicated entry points 2021-11-09 23:41:02 +01: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
4b2aed7bb2 let -> const 2018-10-04 19:01:34 -07:00
Matt Bierner
8ecebfb761 var -> let 2018-10-04 19:01:34 -07:00
Matt Bierner
e8475ad59f Enable noUnusedParameters in build scripts 2018-10-03 17:26:47 -07:00
Matt Bierner
38fbec9568 Converting some require imports to import from imports
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner
ac737307d7 Enable noImplicitAny in build 2018-10-03 10:47:32 -07:00
Matt Bierner
6b9ec57923 Fix bundle.ts for strict null checks 2018-10-03 10:47:32 -07:00
Alex Dima
bced36add0 Mark optional property 2018-08-21 12:43:51 +02:00
Alex Dima
5d0366e78e Exclude more than 100 duplicated __generator definitions in workbench.main.js 2018-02-15 12:58:45 +01:00
Erich Gamma
5e41d2aafb enable checkJS 2018-02-01 14:39:12 +01:00
Johannes Rieken
c75389b974 break loader plugins into build and runtime version to keep the size low 2017-06-23 16:31:32 +02:00
Johannes Rieken
f8ea7320cf re-enable removal of duplicated helpers 2017-04-28 11:02:26 +02:00
Alex Dima
a634d0bee8 Do not remove duplicate TS boilerplate until we find a good way to handle TS updates 2017-04-14 15:18:46 +03:00
Benjamin Pasero
61efd8fb23 build build/lib folder with latest 2017-03-06 16:32:23 +01:00
Alex Dima
72ef20b5b3 Improve monaco-editor-core bundling 2016-09-18 23:05:42 +03:00
Alex Dima
9245f2c246 Generate original module ids for debugging purposes when bundling 2016-09-07 17:48:51 +02:00
Joao Moreno
e83b5b41da fix bad compile 2016-07-19 11:39:02 +02:00
Alex Dima
350dd1ed2f Bundle editorWorkerServer into workerServer and editorSimpleWorker into simpleWorker 2016-06-09 00:22:59 +02:00
Alex Dima
b38055cdde Extract module ids and wrap around bundled code in a function to aid in minification 2016-06-08 20:35:10 +02:00
Alex Dima
27dae4d2b7 Bundler: generate bundleInfo, remove duplicated TS boilerplate 2016-06-08 20:35:08 +02:00
Alex Dima
bb7358555b Inline small svg/png images when bundling editor 2016-06-07 18:46:56 +02:00
Joao Moreno
b027a0c492 fix up lint errors, cleanup build folder 2016-03-07 12:56:32 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00