Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transform Object.assign for browsers lacking support #257

Merged
merged 1 commit into from Jun 5, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

transform Object.assign for browsers lacking support

fixes #243
  • Loading branch information
psimyn committed Jun 4, 2016
commit 52a824a09c1f00092347f91eddc5f291b520ebcc
@@ -58,6 +58,7 @@
"babel-loader": "^6.2.4",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-plugin-transform-react-constant-elements": "^6.5.0",
"babel-plugin-transform-react-inline-elements": "^6.6.5",
"babel-plugin-transform-react-remove-prop-types": "^0.2.3",
@@ -15,7 +15,7 @@ var commonLoaders = [
// https://github.com/gaearon/react-transform-hmr/issues/5#issuecomment-142313637
query: {
"presets": ["react-hmre", "es2015", "react", "stage-0"],
"plugins": ["transform-decorators-legacy"]
"plugins": ["transform-decorators-legacy", "transform-object-assign"]
},
include: path.join(__dirname, '..', 'app'),
exclude: path.join(__dirname, '..', 'node_modules')
@@ -14,7 +14,7 @@ var commonLoaders = [
// https://github.com/gaearon/react-transform-hmr/issues/5#issuecomment-142313637
query: {
"presets": ["es2015", "react", "stage-0"],
"plugins": ["transform-decorators-legacy"]
"plugins": ["transform-decorators-legacy", "transform-object-assign"]
},
include: path.join(__dirname, '..', 'app'),
exclude: path.join(__dirname, '..', 'node_modules')
@@ -20,6 +20,7 @@ var commonLoaders = [
"presets": ["es2015", "react", "stage-0"],
"plugins": [
"transform-decorators-legacy",
"transform-object-assign",
"transform-react-remove-prop-types",
"transform-react-constant-elements",
"transform-react-inline-elements"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.