diff --git a/babel.config.js b/babel.config.js index f336bdba..d35cc679 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,8 +18,6 @@ module.exports = (api) => { '@babel/plugin-transform-flow-strip-types', '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-object-rest-spread', - '@babel/plugin-syntax-dynamic-import', - 'dynamic-import-node', [ '@babel/plugin-transform-runtime', { diff --git a/package.json b/package.json index 8de506bd..2082bd14 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "build:beta": "rimraf build/beta && cross-env BUILD=beta npx webpack --config webpack/production.babel.js --output-path build/beta --progress --bail", "build:dev": "rimraf build.dev && cross-env BUILD=development npx webpack --config webpack/production.babel.js --output-path build/dev --progress --bail", "translations:extract": "rimraf translations/extractedMessages && cross-env NODE_ENV=translations babel src", - "translations:upload": "yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload", - "translations:download": "yarn ttm build-translations && sleep 5 && yarn ttm export-translations", + "translations:upload": "yarn translations:extract && yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload", + "translations:download": "yarn ttm build-translations && sleep 1 && yarn ttm export-translations", "flow": "flow check src", "lint": "run-s lint:*", "lint:js": "npx eslint ./src ./webpack", @@ -92,7 +92,6 @@ "@babel/core": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.3.0", "@babel/plugin-proposal-object-rest-spread": "^7.3.2", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-flow-strip-types": "^7.2.3", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.3.1", @@ -102,7 +101,6 @@ "babel-eslint": "^10.0.1", "babel-jest": "^24.1.0", "babel-loader": "^8.0.5", - "babel-plugin-dynamic-import-node": "^2.2.0", "babel-plugin-module-resolver": "^3.1.3", "babel-plugin-react-intl": "^3.0.1", "babel-plugin-styled-components": "^1.10.0", diff --git a/yarn.lock b/yarn.lock index 047a5d0c..6196f2f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -329,13 +329,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.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== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-flow@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c" @@ -1730,13 +1723,6 @@ babel-plugin-check-es2015-constants@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-dynamic-import-node@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.2.0.tgz#c0adfb07d95f4a4495e9aaac6ec386c4d7c2524e" - integrity sha512-fP899ELUnTaBcIzmrW7nniyqqdYWrWuJUyPWHxFa/c7r7hS6KC8FscNfLlBNIoPSc55kYMGEEKjPjJGCLbE1qA== - dependencies: - object.assign "^4.1.0" - babel-plugin-emotion@^9.2.11: version "9.2.11" resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-9.2.11.tgz#319c005a9ee1d15bb447f59fe504c35fd5807728"