Skip to content

Commit

Permalink
Making smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
juspears committed Mar 2, 2016
1 parent aa2398c commit 3dfc9ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"es2015",
"stage-0"
],
"plugins":["transform-runtime", "transform-decorators-legacy"]
"plugins":[]
}
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var AUTOPREFIXER_LOADER = 'autoprefixer-loader?{browsers:[' +
'"Explorer >= 8", "iOS >= 6", "Opera >= 12", "Safari >= 6"]}';

var lifecycle = process.env['npm_lifecycle_event'];
var isPrepublish = lifecycle === 'prepublish';
var isPrepublish = lifecycle === 'dist';
var isKarma = process.env['NODE_ENV'] === 'test';
var isTestDist = lifecycle === 'test-dist';

Expand All @@ -24,7 +24,6 @@ var config = {
extensions: ['', '.jsx', '.js'],
alias: {
'fbjs': join('node_modules/fbjs'),
'react': join('node_modules/react'),
'subschema-injection': isTestDist ? join('dist/index.js') : join('src')
}
},
Expand Down

0 comments on commit 3dfc9ea

Please sign in to comment.