diff --git a/packages/create-fes-app/templates/app/h5/package.json b/packages/create-fes-app/templates/app/h5/package.json index 8f2d4033..73a9949c 100644 --- a/packages/create-fes-app/templates/app/h5/package.json +++ b/packages/create-fes-app/templates/app/h5/package.json @@ -50,7 +50,7 @@ "@fesjs/plugin-request": "^2.0.0", "@fesjs/builder-webpack": "^1.0.0", "vue": "^3.2.6", - "core-js": "^3.8.3" + "core-js": "^3.19.2" }, "private": true } \ No newline at end of file diff --git a/packages/create-fes-app/templates/app/pc/package.json b/packages/create-fes-app/templates/app/pc/package.json index 24e50f06..f475b86d 100644 --- a/packages/create-fes-app/templates/app/pc/package.json +++ b/packages/create-fes-app/templates/app/pc/package.json @@ -55,7 +55,7 @@ "@fesjs/fes-design": "^0.5.0", "@fesjs/builder-webpack": "^1.0.0", "vue": "^3.2.6", - "core-js": "^3.8.3" + "core-js": "^3.19.2" }, "private": true } \ No newline at end of file diff --git a/packages/fes-builder-vite/package.json b/packages/fes-builder-vite/package.json index 5b62a999..085358ca 100644 --- a/packages/fes-builder-vite/package.json +++ b/packages/fes-builder-vite/package.json @@ -39,7 +39,7 @@ }, "peerDependencies": { "@vue/compiler-sfc": "^3.0.5", - "core-js": "^3.21.1" + "core-js": "^3.19.2" }, "typings": "./types.d.ts" } diff --git a/packages/fes-builder-webpack/package.json b/packages/fes-builder-webpack/package.json index 4d0d764f..6c6435a8 100644 --- a/packages/fes-builder-webpack/package.json +++ b/packages/fes-builder-webpack/package.json @@ -64,8 +64,5 @@ "peerDependencies": { "@vue/compiler-sfc": "^3.0.5", "core-js": "^3.19.2" - }, - "devDependencies": { - "core-js": "^3.19.2" } } diff --git a/yarn.lock b/yarn.lock index 7c20a191..0c8da86c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4176,7 +4176,7 @@ core-js-compat@^3.20.2, core-js-compat@^3.21.0: browserslist "^4.19.1" semver "7.0.0" -core-js@^3.19.2, core-js@^3.6.1: +core-js@^3.6.1: version "3.21.1" resolved "https://registry.npmmirror.com/core-js/-/core-js-3.21.1.tgz#f2e0ddc1fc43da6f904706e8e955bc19d06a0d94" integrity sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig==