Skip to content

Commit

Permalink
Fix production build
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Dec 20, 2015
1 parent 003ee1f commit b4397bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"env": {
"production": {
"plugins": [
"utility.inlineEnvironmentVariables",
"minification.deadCodeElimination"
"transform-inline-environment-variables"
]
},
"development": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"babel-loader": "^6.2.0",
"babel-plugin-react-transform": "^2.0.0-beta1",
"babel-plugin-transform-decorators-legacy": "^1.3.3",
"babel-plugin-transform-inline-environment-variables": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
loader: 'babel',
include: path.join(__dirname, 'app'),
query: {
optional: ['runtime']
plugins: ['transform-runtime']
}
}, {
test: /\.css$/,
Expand Down

0 comments on commit b4397bd

Please sign in to comment.