From ee64b77af91b7e79b40236235ee01eb95d4e5d9d Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Thu, 5 Mar 2020 10:24:43 +0100 Subject: [PATCH] Reduce noise in diff and use files with the same absolute imports when troubleshooting treeshaking --- build/gulpfile.editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/gulpfile.editor.js b/build/gulpfile.editor.js index e724b2381f4..fbf3a6d4297 100644 --- a/build/gulpfile.editor.js +++ b/build/gulpfile.editor.js @@ -181,9 +181,9 @@ const compileEditorESMTask = task.define('compile-editor-esm', () => { }); } - // copy files from esm + // copy files from tree shaken src for (const file of files) { - const srcFilePath = path.join(__dirname, '../out-editor-esm', file); + const srcFilePath = path.join(__dirname, '../out-editor-src', file); const dstFilePath = path.join(destPath, file); if (fs.existsSync(srcFilePath)) { util.ensureDir(path.dirname(dstFilePath));