diff --git a/.babelrc b/.babelrc index 66b84a7..7a375c0 100644 --- a/.babelrc +++ b/.babelrc @@ -13,7 +13,7 @@ }, "production": { "plugins": [ - "external-helpers" + "transform-runtime" ] } } diff --git a/package.json b/package.json index c681926..a3a3102 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "homepage": "https://github.com/wbuchwalter/ng-redux#readme", "devDependencies": { "babel-core": "^6.25.0", - "babel-plugin-external-helpers": "^6.22.0", + "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "cross-env": "^5.0.5", "expect": "^1.20.2", @@ -50,6 +50,7 @@ "sinon": "^3.2.0" }, "dependencies": { + "babel-runtime": "^6.26.0", "invariant": "^2.2.2", "lodash.curry": "^4.1.1", "lodash.isfunction": "^3.0.8", diff --git a/rollup.config.js b/rollup.config.js index 3a16c55..645a0fb 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -40,6 +40,7 @@ if (env === 'development' || env === 'production') { }), commonjs(), babel({ + runtimeHelpers: true, exclude: 'node_modules/**' }) ) diff --git a/yarn.lock b/yarn.lock index 88824e3..18276b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -283,12 +283,6 @@ babel-plugin-check-es2015-constants@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-external-helpers@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz#2285f48b02bd5dede85175caf8c62e86adccefa1" - dependencies: - babel-runtime "^6.22.0" - babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" @@ -491,6 +485,12 @@ babel-plugin-transform-regenerator@^6.22.0: dependencies: regenerator-transform "0.9.11" +babel-plugin-transform-runtime@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" + dependencies: + babel-runtime "^6.22.0" + babel-plugin-transform-strict-mode@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" @@ -552,6 +552,13 @@ babel-runtime@^6.18.0, babel-runtime@^6.22.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" +babel-runtime@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + babel-template@^6.24.1, babel-template@^6.25.0: version "6.25.0" resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071" @@ -2018,6 +2025,10 @@ regenerator-runtime@^0.10.0: version "0.10.5" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" +regenerator-runtime@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" + regenerator-transform@0.9.11: version "0.9.11" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.9.11.tgz#3a7d067520cb7b7176769eb5ff868691befe1283"