1
0
Эх сурвалжийг харах

Adds support for both quotes in the TS side

Orta 4 жил өмнө
parent
commit
c09657381e
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  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'],`,