Repository navigation
Closed
Labels
Milestone
Description
Does this issue occur when all extensions are disabled?: N/A
- VS Code Version: [email protected]
- OS Version: macOS / 26.5 / 25F5053d
Steps to Reproduce:
- Clone the repository anew, run
npm install, runnpm run compile-build - We get:
[19:58:03] Starting compile-src ...
[19:58:14] [mangler] Done collecting. Classes: 10537. Exported symbols: 13077
[19:58:15] [mangler] WARN: 'setEditorVisible' from src/vs/workbench/browser/parts/editor/editorPane.ts:160 became PUBLIC because of: src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.ts:303
[19:58:15] [mangler] WARN: '_enableCommandLineSandboxRewriting' from src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts:534 became PUBLIC because of: src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.ts:68
[19:58:15] [mangler] ERROR: Protected fields have been made PUBLIC. This hurts minification and is therefore not allowed. Review the WARN messages further above
[19:58:15] Starting compilation...
[19:58:15] 'compile-build-with-mangling' errored after 12 s
After resolving those two compilation is successfully being able to run:
$ dum compile-build
$ compile-build
$ npm run gulp compile-build-with-mangling
> [email protected] gulp
> node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js compile-build-with-mangling
[20:05:44] Using gulpfile gulpfile.mjs
[20:05:44] Starting 'compile-build-with-mangling'...
[20:05:44] Starting copy-codicons ...
[20:05:44] Finished copy-codicons after 2 ms
[20:05:44] Starting clean-out-build ...
[20:05:44] Finished clean-out-build after 5 ms
[20:05:44] Starting build-date-file ...
[20:05:44] Finished build-date-file after 17 ms
[20:05:44] Starting compile-api-proposal-names ...
[20:05:44] Starting compilation api-proposal-names...
(node:7355) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[20:05:44] Finished compilation api-proposal-names with 0 errors after 27 ms
[20:05:44] Finished compile-api-proposal-names after 30 ms
[20:05:44] Starting compile-src ...
[20:05:56] [mangler] Done collecting. Classes: 10537. Exported symbols: 13077
[20:05:57] [mangler] Done creating class replacements
[20:05:57] [mangler] Starting prepare rename edits
[20:05:58] Starting compilation...
Activity
fix: make protected members public to resolve mangler build errors
vs-code-engineering commentedon Apr 15, 2026
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.116.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
fix: make protected members public to resolve mangler build errors
fix: make protected members public to resolve mangler build errors (#…