From c09657381e720ecb401563b29d746cbf94ee196c Mon Sep 17 00:00:00 2001 From: Orta Date: Wed, 9 Sep 2020 10:28:53 -0400 Subject: [PATCH] Adds support for both quotes in the TS side --- gulpfile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 9341c27e..677ad14f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -196,6 +196,11 @@ function addPluginContribs(type) { `define('vs/language/json/fillers/monaco-editor-core',[],`, `define('vs/language/json/fillers/monaco-editor-core',['vs/editor/editor.api'],`, ); + // You can find both types of quotes in the TypeScript files + contribContents = contribContents.replace( + `define("vs/language/typescript/fillers/monaco-editor-core",[],`, + `define("vs/language/typescript/fillers/monaco-editor-core",['vs/editor/editor.api'],`, + ); contribContents = contribContents.replace( `define('vs/language/typescript/fillers/monaco-editor-core',[],`, `define('vs/language/typescript/fillers/monaco-editor-core',['vs/editor/editor.api'],`,