diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index c796410..3b19d64 100644 --- a/compiler/webpack.config.js +++ b/compiler/webpack.config.js @@ -126,9 +126,9 @@ function initConfig(config) { }; } if (!projectConfig.aceModuleJsonPath) { - config.resolve.modules.push(path.join(projectPath, '../../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../../node_modules/')); } else { - config.resolve.modules.push(path.join(projectPath, '../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../node_modules/')); } }