diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index 96eb6e0..00565c0 100644 --- a/compiler/webpack.config.js +++ b/compiler/webpack.config.js @@ -126,8 +126,10 @@ function initConfig(config) { } if (!projectConfig.aceModuleJsonPath) { config.resolve.modules.push(path.resolve(projectPath, '../../../../node_modules')); + config.resolve.modules.push(path.resolve(projectPath, '../../../../../node_modules')); } else { config.resolve.modules.push(path.resolve(projectPath, '../../../node_modules')); + config.resolve.modules.push(path.resolve(projectPath, '../../../../node_modules')); } }