Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Commit cf61b47

Browse files
fix(build): Polyfill Object.assign
Some people manage to use our extensions outside of chrome. We don't support this, but we can do some fixes (like this one) to help. Closes #195
1 parent 689edfa commit cf61b47

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"presets": ["react"],
3-
"plugins": ["transform-es2015-computed-properties"]
3+
"plugins": ["transform-es2015-computed-properties", "transform-object-assign"]
44
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
"babel-core": "^6.14.0",
100100
"babel-loader": "^6.2.5",
101101
"babel-plugin-transform-es2015-computed-properties": "^6.8.0",
102+
"babel-plugin-transform-object-assign": "^6.8.0",
102103
"babel-preset-react": "^6.11.1",
103104
"bell-on-bundler-error-plugin": "^1.0.8",
104105
"chai": "^3.3.0",

0 commit comments

Comments
 (0)