From 3fc1a30afd3dff6cfa37137d1dbe2c8de5f71d21 Mon Sep 17 00:00:00 2001 From: Imprevia <527064298@qq.com> Date: Wed, 2 Sep 2020 16:06:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=90=E8=A1=8Ceasy=20dll?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=8F=90=E7=A4=BAprogram=20is=20not=20define?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/action.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +};