From b0dbca979a6bfe52b0b6ad8c633badf6696c354a Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Mon, 10 Feb 2020 14:55:35 +0200 Subject: [PATCH] minor --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index be0ba29..39afc39 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,8 +59,8 @@ const entryPoints = [ module.exports = (env) => { const task = env.task || 'compile'; - const mode = task == 'compile' ? 'development' : 'production'; const agent = env.agent || 'mock'; + const mode = task == 'compile' ? 'development' : 'production'; const entry = {}; entryPoints.forEach(key => { const resource = task == 'compile' ? `src/tasks/${key}.ts` : `dist/${agent}/${key}/bundle.js`;