Pārlūkot izejas kodu

Adds support for both quotes in the TS side

Orta 4 gadi atpakaļ
vecāks
revīzija
c09657381e
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      gulpfile.js

+ 5 - 0
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'],`,