diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index 3b19d64..886b647 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.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')); } }