Alex Dima преди 7 години
родител
ревизия
1fcd19be1c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      gulpfile.js

+ 1 - 1
gulpfile.js

@@ -190,7 +190,7 @@ function addPluginContribs(type) {
 			extraContent.push(contribContents);
 		});
 
-		extraContent.push(`define("vs/editor/editor.main", ["vs/editor/edcore.main","${allPluginsModuleIds.join('","')}"], function() {});`);
+		extraContent.push(`define("vs/editor/editor.main", ["vs/editor/edcore.main","${allPluginsModuleIds.join('","')}"], function(api) { return api; });`);
 		var insertIndex = contents.lastIndexOf('//# sourceMappingURL=');
 		if (insertIndex === -1) {
 			insertIndex = contents.length;