diff --git a/lib/action.js b/lib/action.js index 2677074..84e9e33 100644 --- a/lib/action.js +++ b/lib/action.js @@ -75,7 +75,7 @@ module.exports = class Action { } dll(env, options) { - const config = utils.initWebpackConfig(program, { env, framework: 'dll' }, { dll: true }); + const config = utils.initWebpackConfig(this.program, { env, framework: 'dll' }, { dll: true }); builder.build(config); } @@ -175,4 +175,4 @@ module.exports = class Action { add() { // console.log(chalk.yellow('[add] command not implemented')); } -}; \ No newline at end of file +};