From 6b74074ed1503af6d19c69826058612b57aab9f5 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 6 Mar 2018 23:19:40 +0100 Subject: [PATCH] chore(extension:webpack): clean file --- packages/extension/webpack.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/extension/webpack.config.js b/packages/extension/webpack.config.js index d0a3a88..a455ba9 100644 --- a/packages/extension/webpack.config.js +++ b/packages/extension/webpack.config.js @@ -37,11 +37,6 @@ const config = { }, }, }, - // { - // test: /\.js$/, - // loader: 'babel-loader', - // exclude: /node_modules/, - // }, { test: /\.tsx?$/, loader: 'ts-loader', @@ -100,11 +95,6 @@ if (process.env.NODE_ENV === 'production') { const gitRevision = exec('git rev-parse --abbrev-ref HEAD'); const gitBranchOrTag = gitRevision === 'HEAD' ? exec('git describe --tags --abbrev=0') : gitRevision; - console.log({ - gitRevision, - gitBranchOrTag, - }); - config.mode = 'production'; config.devtool = '#cheap-module-source-map';