Matt Bierner
1eee7ae230
Switch monaco to off of moduleResolution: classic
...
Fixes #270408
Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify
I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Matt Bierner
383842fe0d
Re-use TypeScriptLanguageServiceHostfor monaco and treeshaker build steps
...
For #270408
There are currently duplicated `LanguageServiceHost` definitions in our build folder. As far as I can tell they are the same except for the default lib name
As part of #270408 I'll have to touch the service hosts and having a single definition will make this easier
2025-10-08 10:12:47 -07:00
João Moreno
f4c2700d45
cleanup any casts ( #270371 )
...
related to #269213
cc @mjbvz @jrieken
2025-10-08 14:05:31 +00:00
Matt Bierner
68fb92d6e0
Use real maps for monaco-api/treeshaking
...
Working on understanding this code and trying to modernize it a little
2025-10-07 16:56:14 -07:00
Matt Bierner
1174f9b951
Compile build scripts too
2025-10-02 23:46:45 -07:00
Matt Bierner
12a275ffe7
Use ts-native to compile our build scripts
...
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07: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
Matt Bierner
6403b4367b
Pick up latest TS for building VS Code ( #207096 )
2024-03-07 12:59:59 -08:00
João Moreno
e469272e45
remove inline sourcemaps from build files ( #198842 )
2023-11-22 14:05:46 +01:00
Matt Bierner
10d94ba0f3
Pick up latest TS nightly for building VS Code ( #194631 )
2023-10-02 19:40:35 +01:00
Matt Bierner
d67db9d358
Pick up latest TS for building VS Code ( #172033 )
2023-01-23 11:39:28 -08:00
Johannes
696c1cf199
build utils with source map to enable JS debug console
2022-11-10 15:05:47 +01:00
Matt Bierner
e7e403d83f
Bump target for build scripts ( #165287 )
2022-11-03 12:19:54 -07:00
Johannes
2c004b870f
recompile build folder with const over let
2022-06-09 10:59:11 +02:00
Matt Bierner
bc9de9e7eb
Pick up TS 4.7 for building VS Code ( #145273 )
...
Adds fixes for https://github.com/microsoft/TypeScript/issues/48276
2022-03-17 11:10:35 -07:00
Alex Dima
435f287a5c
Remove support for @monacodtsreplace since TS has gotten a lot better at emitting dts
2021-10-08 09:52:36 +02: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