Remove @babel/runtime and its associated plugin from the admin package

Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2022-03-23 14:41:34 +01:00 committed by Convly
parent 0275baa5b8
commit 521f582b86
2 changed files with 1 additions and 10 deletions

View File

@ -28,7 +28,7 @@
"develop:webpack": "cross-env NODE_ENV=development webpack serve --config webpack.config.dev.js --progress profile",
"prepublishOnly": "yarn build",
"build": "rimraf build && node ./scripts/build.js",
"mesure:webpack-build": "rimraf build && cross-env MESURE_BUILD_SPEED=true node ./scripts/build.js",
"build:mesure": "rimraf build && cross-env MESURE_BUILD_SPEED=true node ./scripts/build.js",
"test": "echo \"no tests yet\"",
"test:unit": "jest --verbose",
"test:front": "cross-env IS_EE=true jest --config ./jest.config.front.js",
@ -42,10 +42,8 @@
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"@babel/runtime": "7.16.7",
"@casl/ability": "^5.4.3",
"@fingerprintjs/fingerprintjs": "3.3.2",
"@fortawesome/fontawesome-free": "^5.15.3",

View File

@ -159,13 +159,6 @@ module.exports = ({
require.resolve('@babel/plugin-transform-modules-commonjs'),
require.resolve('@babel/plugin-proposal-async-generator-functions'),
[
require.resolve('@babel/plugin-transform-runtime'),
{
helpers: true,
regenerator: true,
},
],
[require.resolve('babel-plugin-styled-components'), { pure: true }],
],
},