mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
* 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
79 lines
2.4 KiB
JSON
79 lines
2.4 KiB
JSON
{
|
|
"name": "code-oss-dev-build",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@azure/cosmos": "^3.17.3",
|
|
"@azure/identity": "^3.1.3",
|
|
"@azure/storage-blob": "^12.13.0",
|
|
"@electron/get": "^1.12.4",
|
|
"@iarna/toml": "^2.2.5",
|
|
"@types/ansi-colors": "^3.2.0",
|
|
"@types/byline": "^4.2.32",
|
|
"@types/cssnano": "^4.0.0",
|
|
"@types/debounce": "^1.0.0",
|
|
"@types/debug": "4.1.5",
|
|
"@types/fancy-log": "^1.3.0",
|
|
"@types/fs-extra": "^9.0.12",
|
|
"@types/glob": "^7.1.1",
|
|
"@types/gulp": "^4.0.5",
|
|
"@types/gulp-concat": "^0.0.32",
|
|
"@types/gulp-filter": "^3.0.32",
|
|
"@types/gulp-gzip": "^0.0.31",
|
|
"@types/gulp-json-editor": "^2.2.31",
|
|
"@types/gulp-postcss": "^8.0.0",
|
|
"@types/gulp-rename": "^0.0.33",
|
|
"@types/gulp-sourcemaps": "^0.0.32",
|
|
"@types/iarna__toml": "^2.0.2",
|
|
"@types/mime": "0.0.29",
|
|
"@types/minimatch": "^3.0.3",
|
|
"@types/minimist": "^1.2.1",
|
|
"@types/mkdirp": "^1.0.1",
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/node": "16.x",
|
|
"@types/p-limit": "^2.2.0",
|
|
"@types/pump": "^1.0.1",
|
|
"@types/rimraf": "^2.0.4",
|
|
"@types/through": "^0.0.29",
|
|
"@types/through2": "^2.0.36",
|
|
"@types/tmp": "^0.2.1",
|
|
"@types/underscore": "^1.8.9",
|
|
"@types/workerpool": "^6.4.0",
|
|
"@types/xml2js": "0.0.33",
|
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
"@vscode/vsce": "^2.16.0",
|
|
"byline": "^5.0.0",
|
|
"colors": "^1.4.0",
|
|
"commander": "^7.0.0",
|
|
"debug": "^4.3.2",
|
|
"electron-osx-sign": "^0.4.16",
|
|
"esbuild": "0.17.14",
|
|
"extract-zip": "^2.0.1",
|
|
"gulp-merge-json": "^2.1.1",
|
|
"gulp-shell": "^0.8.0",
|
|
"jsonc-parser": "^2.3.0",
|
|
"mime": "^1.4.1",
|
|
"mkdirp": "^1.0.4",
|
|
"node-fetch": "2",
|
|
"p-limit": "^3.1.0",
|
|
"source-map": "0.6.1",
|
|
"ternary-stream": "^3.0.0",
|
|
"through2": "^4.0.2",
|
|
"tmp": "^0.2.1",
|
|
"vscode-universal-bundler": "^0.0.2"
|
|
},
|
|
"scripts": {
|
|
"compile": "../node_modules/.bin/tsc -p tsconfig.build.json",
|
|
"watch": "../node_modules/.bin/tsc -p tsconfig.build.json --watch",
|
|
"npmCheckJs": "../node_modules/.bin/tsc --noEmit"
|
|
},
|
|
"optionalDependencies": {
|
|
"tree-sitter": "https://github.com/joaomoreno/node-tree-sitter/releases/download/v0.20.0/tree-sitter-0.20.0.tgz",
|
|
"tree-sitter-typescript": "^0.20.1",
|
|
"vscode-gulp-watch": "^5.0.3"
|
|
},
|
|
"dependencies": {
|
|
"workerpool": "^6.4.0"
|
|
}
|
|
}
|