diff --git a/.babelrc b/.babelrc index 8ba54ff81..f94e2d8a1 100644 --- a/.babelrc +++ b/.babelrc @@ -12,6 +12,7 @@ ], "plugins": [ "@babel/plugin-proposal-class-properties", + "@babel/plugin-syntax-dynamic-import", "@babel/plugin-transform-regenerator", "@babel/plugin-transform-runtime" ] diff --git a/package.json b/package.json index d83bf27c1..c141123d0 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,7 @@ "@babel/core": "^7.2.2", "@babel/plugin-external-helpers": "^7.2.0", "@babel/plugin-proposal-class-properties": "^7.2.3", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.2.3", "@babel/preset-react": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index d338fc518..71b945888 100644 --- a/yarn.lock +++ b/yarn.lock @@ -354,7 +354,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-dynamic-import@7.2.0": +"@babel/plugin-syntax-dynamic-import@7.2.0", "@babel/plugin-syntax-dynamic-import@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612" integrity sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==