From 9a0e26ba8c9aae3d5862226f46661c35405a75b8 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 21 Jan 2021 13:26:30 +0100 Subject: [PATCH] =?UTF-8?q?(build)=20build=20publicodes=20en=20mode=20deve?= =?UTF-8?q?lopment=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publicodes/core/webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/publicodes/core/webpack.config.js b/publicodes/core/webpack.config.js index 387be12e1..9ff773292 100644 --- a/publicodes/core/webpack.config.js +++ b/publicodes/core/webpack.config.js @@ -21,12 +21,11 @@ const babelLoader = { ], }, } - const common = { resolve: { extensions: ['.ts', '.tsx', '.js'], }, - mode: process.env.NODE_ENV, + mode: process.env.NODE_ENV ?? 'development', entry: path.resolve(__dirname, 'source', 'index.ts'), module: { rules: [