mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Merge pull request #2118 from microsoft/ts_amd
Adds support for both quotes in the TS side
This commit is contained in:
commit
ffca8b9634
1 changed files with 2 additions and 18 deletions
20
gulpfile.js
20
gulpfile.js
|
|
@ -185,24 +185,8 @@ function addPluginContribs(type) {
|
|||
var contribContents = fs.readFileSync(contribPath).toString();
|
||||
|
||||
contribContents = contribContents.replace(
|
||||
`define('vs/language/css/fillers/monaco-editor-core',[],`,
|
||||
`define('vs/language/css/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
||||
);
|
||||
contribContents = contribContents.replace(
|
||||
`define('vs/language/html/fillers/monaco-editor-core',[],`,
|
||||
`define('vs/language/html/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
||||
);
|
||||
contribContents = contribContents.replace(
|
||||
`define('vs/language/json/fillers/monaco-editor-core',[],`,
|
||||
`define('vs/language/json/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'],`,
|
||||
);
|
||||
contribContents = contribContents.replace(
|
||||
`define('vs/basic-languages/fillers/monaco-editor-core',[],`,
|
||||
`define('vs/basic-languages/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
||||
/define\((['"][a-z\/\-]+\/fillers\/monaco-editor-core['"]),\[\],/,
|
||||
'define($1,[\'vs/editor/editor.api\'],'
|
||||
);
|
||||
|
||||
extraContent.push(contribContents);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue