Skip to content

Commit

Permalink
fix(dinero): Use Object.assign transformer for better browser compati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
sarahdayan committed Apr 28, 2018
1 parent e2f969e commit 361dbf2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"babel": "^6.23.0",
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"commitizen": "^2.9.6",
Expand Down Expand Up @@ -71,5 +72,6 @@
"build",
"src"
],
"license": "MIT"
"license": "MIT",
"dependencies": {}
}
2 changes: 1 addition & 1 deletion tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const defaultPlugins = [
]
],
exclude: 'node_modules/**',
plugins: ['external-helpers'],
plugins: ['external-helpers', 'transform-object-assign'],
babelrc: false
})
]
Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,12 @@ babel-plugin-transform-minify-booleans@^6.9.0:
version "6.9.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.1.tgz#52cba79c00fa509737064055efab22166e140c4d"

babel-plugin-transform-object-assign@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz#f99d2f66f1a0b0d498e346c5359684740caa20ba"
dependencies:
babel-runtime "^6.22.0"

babel-plugin-transform-property-literals@^6.9.0:
version "6.9.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.1.tgz#6970f93b17793abcde9cf25d2e8cd13e0088e5c9"
Expand Down

0 comments on commit 361dbf2

Please sign in to comment.