From bfd83a55cb7c7fb53021db1e4af852590c2914ed Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Wed, 12 May 2021 21:05:02 +0200 Subject: [PATCH] remove systemjs build (at least temporarly) --- rollup.config.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index c9bf767c..8bdbd355 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -28,7 +28,8 @@ const getDirectories = (source) => { // capture the list of files to build for extensions and ext-locales const extensionDirs = getDirectories('src/editor/extensions'); -const dest = ['dist/editor', 'dist/editor/system']; +/** @todo should we support systemjs? */ +const dest = ['dist/editor' /* , 'dist/editor/system' */]; // remove existing distribution // eslint-disable-next-line no-console @@ -50,15 +51,16 @@ const config = [{ sourcemap: true, file: 'dist/editor/xdomain-index.js', intro: 'const XDOMAIN = true;' - }, + } + /* { format: 'system', dir: 'dist/editor/system', inlineDynamicImports: true } + */ ], plugins: [ - // progress(), copy({ targets: [ { @@ -72,6 +74,7 @@ const config = [{ transform: (contents) => contents.toString() .replace('