CI for Monaco Editor compile and bundling.

This commit is contained in:
Peng Lyu
2019-11-12 15:55:21 -08:00
parent 9b70b1804c
commit d9fb87d002
10 changed files with 302 additions and 3 deletions

View File

@@ -310,6 +310,28 @@ gulp.task('editor-distro',
)
);
const bundleEditorESMTask = task.define('editor-esm-bundle-webpack', () => {
return standalone.bundleESM();
});
gulp.task('editor-esm-bundle',
task.series(
task.parallel(
util.rimraf('out-editor-src'),
util.rimraf('out-editor-build'),
util.rimraf('out-editor-esm'),
util.rimraf('out-monaco-editor-core'),
util.rimraf('out-editor'),
util.rimraf('out-editor-min')
),
extractEditorSrcTask,
createESMSourcesAndResourcesTask,
compileEditorESMTask,
bundleEditorESMTask,
finalEditorResourcesTask
)
);
//#region monaco type checking
function createTscCompileTask(watch) {