vscode/build
Matt Bierner debcf16fcd
Mangle exported symbols (#182935)
* Mangle exported functions

For #180461

This prototype tries to mangle exported functions, saving a further 440kb from the bundle size

* Fix missing call

* Also try mangling top level exported consts too

* Fixing errors

* Don't run on build files

* Skip a few more manglings and revert change to namespace

* Skip a few more monaco files

* Also mangle consts that shadow types

This increases savings up to 3325

* Also mangle exported classes

* Skip mangling more localization functions for now

* Opt out pfs

* Update build script

* Run find locations task in parallel

This should speed up compile

* Cleanup before close

* Limit workers to avoid hitting memory limit

* Limit pool size

* Skip one more mangling

* Exclude entrypoints from mangling

* Try to fix web build and clean up code

* Exempt a few more projects

* Exempt another file

* Also exempt html

* Skip mangling ext entrypoints

* Use prefix that can't be confused with rpc calls

* Fix max call stack error

* Switch prefixes

* Don't mangle ambient declarations

* Use correct way of checking modifier flags

* Workaround getCombinedModifierFlags not doing what I'd expect

Maybe needs the checker to be enabled too? Just check parent chain instead for now

* Clean up code and add logic showing how enum mangling could work

* Remove a few more skipMangles

Use entrypoints instead

* Fix entrypoint name
2023-06-13 08:18:05 +02:00
..
azure-pipelines ci: switch to bionic agents for arm64 and armhf clients (#184906) 2023-06-13 00:50:36 +09:00
builtin Remove uses of X-UA-Compatible meta tag (#177739) 2023-04-04 13:02:01 -07:00
darwin Adopt new distro format (#178689) 2023-04-02 09:35:39 +02:00
lib Mangle exported symbols (#182935) 2023-06-13 08:18:05 +02:00
linux ci: switch to bionic agents for arm64 and armhf clients (#184906) 2023-06-13 00:50:36 +09:00
monaco Implements initial version of moved code detection. (#184336) 2023-06-05 08:50:55 -07:00
npm chore: update to Electron 22 (#177600) 2023-04-03 09:09:31 +02:00
win32 innosetup to start/stop tunnel service (#180527) 2023-05-19 11:07:43 +02:00
.cachesalt ci: switch to bionic agents for arm64 and armhf clients (#184906) 2023-06-13 00:50:36 +09:00
.gitattributes force .exe, .dll as binary to fix CRLF/LF problems (#107862) 2020-10-01 10:17:49 +02:00
.gitignore Generate policies again (#149322) 2022-05-12 09:16:03 +02:00
.moduleignore Bump windows-process-tree (#184759) 2023-06-12 11:36:56 -07:00
.moduleignore.darwin Bump windows-process-tree (#184759) 2023-06-12 11:36:56 -07:00
.moduleignore.linux Bump windows-process-tree (#184759) 2023-06-12 11:36:56 -07:00
.moduleignore.win32 Bump windows-mutex to 0.4.4 (#184366) 2023-06-09 09:40:10 -07:00
.webignore implement sign service for web (#182815) 2023-05-17 16:52:56 -07:00
eslint.js Re-enable running our eslint rules using ts-node (#159495) 2022-08-30 08:40:04 +02:00
filters.js add linter for css variable names (#176769) 2023-03-10 07:33:02 -08:00
gulpfile.compile.js add core-ci-pr task which does a full build without mangling 2023-06-07 15:51:48 +02:00
gulpfile.editor.js Don't mangle fields for the monaco editor, FYI @jrieken (#177223) 2023-03-15 14:46:23 +01:00
gulpfile.extensions.js add extensions-ci-pr task which does a full build without mangling 2023-06-07 16:36:02 +02:00
gulpfile.hygiene.js auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
gulpfile.js consume swc as libaray and wire up into the existing transpiler logic 2022-09-07 10:46:27 +02:00
gulpfile.reh.js Bump windows-mutex to 0.4.4 (#184366) 2023-06-09 09:40:10 -07:00
gulpfile.scan.js Use custom node-gyp for SDL pipeline (#179723) 2023-04-21 09:15:05 +09:00
gulpfile.vscode.js Bump windows-mutex to 0.4.4 (#184366) 2023-06-09 09:40:10 -07:00
gulpfile.vscode.linux.js Add appdata.xml to rpm template (#172976) 2023-02-02 01:54:43 -08:00
gulpfile.vscode.web.js add extensions-ci-pr task which does a full build without mangling 2023-06-07 16:36:02 +02:00
gulpfile.vscode.win32.js innosetup to start/stop tunnel service (#180527) 2023-05-19 11:07:43 +02:00
hygiene.js Improve stylelint variable checking (#178002) 2023-03-22 14:59:25 +01:00
package.json Mangle exported symbols (#182935) 2023-06-13 08:18:05 +02:00
setup-npm-registry.js Adopt new distro format (#178689) 2023-04-02 09:35:39 +02:00
stylelint.js Improve stylelint variable checking (#178002) 2023-03-22 14:59:25 +01:00
tsconfig.build.json Re-enable running our eslint rules using ts-node (#159495) 2022-08-30 08:40:04 +02:00
tsconfig.json build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
yarn.lock Mangle exported symbols (#182935) 2023-06-13 08:18:05 +02:00