Skip to content

Commit

Permalink
Check ES3 syntax compatibility (#1720)
Browse files Browse the repository at this point in the history
* Add check for ES3 syntax compatibility

* Remove uglify optimization that undos ES3 compatibility
  • Loading branch information
SimenB authored and gaearon committed May 13, 2016
1 parent afffc26 commit ca977c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/redux.min.js",
"build:examples": "cross-env BABEL_ENV=commonjs babel-node examples/buildAll.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"prepublish": "npm run clean && npm run check:src && npm run build",
"prepublish": "npm run clean && npm run check:src && npm run build && check-es3-syntax lib/ dist/ --kill",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build -g reactjs/redux",
Expand Down Expand Up @@ -93,6 +93,7 @@
"babel-plugin-transform-es3-property-literals": "^6.5.0",
"babel-plugin-transform-object-rest-spread": "^6.3.13",
"babel-register": "^6.3.13",
"check-es3-syntax-cli": "0.0.2",
"cross-env": "^1.0.7",
"eslint": "^1.10.3",
"eslint-config-rackt": "^1.1.1",
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ if (env === 'production') {
pure_getters: true,
unsafe: true,
unsafe_comps: true,
screw_ie8: true,
warnings: false
}
})
Expand Down

0 comments on commit ca977c6

Please sign in to comment.