Skip to content

Commit

Permalink
Remove remove console, debugger babel-plugin (#327)
Browse files Browse the repository at this point in the history
* Remove remove console, debugger babel-plugin

Avoid those babel-plugins swallow console.log in `package.js`. Keeping `no-console` warning by linter should be enough.

* Remove remove console, debugger from package.json
  • Loading branch information
chentsulin authored Aug 9, 2016
1 parent 3559c12 commit e4a8bae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"production": {
"presets": ["react-optimize"],
"plugins": [
"babel-plugin-transform-remove-console",
"babel-plugin-transform-remove-debugger",
"babel-plugin-dev-expression"
]
},
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-transform-remove-console": "^6.8.0",
"babel-plugin-transform-remove-debugger": "^6.8.0",
"babel-plugin-webpack-loaders": "^0.7.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
Expand Down

0 comments on commit e4a8bae

Please sign in to comment.