Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
chore(extension:webpack): clean file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Mar 6, 2018
1 parent 14f47da commit 6b74074
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ const config = {
},
},
},
// {
// test: /\.js$/,
// loader: 'babel-loader',
// exclude: /node_modules/,
// },
{
test: /\.tsx?$/,
loader: 'ts-loader',
Expand Down Expand Up @@ -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';

Expand Down

0 comments on commit 6b74074

Please sign in to comment.