From 1fcd19be1c094498c6e9d260dc3b5422f337146f Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 10 Aug 2018 13:23:03 +0200 Subject: [PATCH] Fixes #922 --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 34e3e774..8de3e2fe 100644 --- a/gulpfile.js +++ b/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;