From a6e4f967373068e5fc6b565b66c653610ff9b7e9 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 22 Oct 2019 16:09:27 -0500 Subject: [PATCH] Fix webview html being excluded Also skip the workbench html since we have our own. --- scripts/optimize.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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",