diff --git a/scripts/optimize.js b/scripts/optimize.js index dfc6e1a9..5e4ab420 100644 --- a/scripts/optimize.js +++ b/scripts/optimize.js @@ -23,15 +23,14 @@ const vscodeResources = [ "out-build/vs/server/main.js", "out-build/vs/server/src/node/uriTransformer.js", "!out-build/vs/server/doc/**", - "out-build/vs/code/browser/workbench/**", - "out-build/vs/server/src/browser/*.html", "out-build/vs/server/src/media/*", "out-build/vs/workbench/services/extensions/worker/extensionHostWorkerMain.js", "out-build/bootstrap.js", "out-build/bootstrap-fork.js", "out-build/bootstrap-amd.js", "out-build/paths.js", - "out-build/vs/**/*.{svg,png}", + 'out-build/vs/**/*.{svg,png,html}', + "!out-build/vs/code/browser/workbench/*.html", '!out-build/vs/code/electron-browser/**', "out-build/vs/base/common/performance.js", "out-build/vs/base/node/languagePacks.js",