From 928493904db8c177d37713cc11e37af7844d9120 Mon Sep 17 00:00:00 2001 From: lizhouze Date: Mon, 21 Mar 2022 22:00:47 +0800 Subject: [PATCH] lizhouze@huawei.com Signed-off-by: lizhouze --- ace-loader/src/compile-plugin.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ace-loader/src/compile-plugin.js b/ace-loader/src/compile-plugin.js index 5bcb11c..0d86363 100644 --- a/ace-loader/src/compile-plugin.js +++ b/ace-loader/src/compile-plugin.js @@ -76,8 +76,11 @@ class ResultStates { }); compiler.hooks.afterCompile.tap('copyFindModule', () => { - for (let modulePath of modulePaths) { - circularFile(modulePath, path.resolve(buildPath, '../share')); + for (let commonPath of commonPaths) { + circularFile(commonPath, path.resolve(buildPath, '../share/common')); + } + for (let i18nPath of i18nPaths) { + circularFile(i18nPath, path.resolve(buildPath, '../share/i18n')); } }); -- Gitee