We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13ac117 commit 09b7794Copy full SHA for 09b7794
src/built-in-plugins/ensure-project-files/plugin/index.ts
@@ -303,7 +303,7 @@ function ensureRootPackageJson() {
303
_.set(prevJson, `devDependencies.${PRI_PACKAGE_NAME}`, projectPriVersion);
304
305
// Add babel-runtime
306
- _.set(prevJson, 'dependencies.@babel/runtime', '^7.0.0');
+ _.set(prevJson, 'dependencies.@babel/runtime', priDeps['@babel/runtime']);
307
}
308
break;
309
case 'component':
@@ -317,7 +317,7 @@ function ensureRootPackageJson() {
317
318
319
320
321
322
323
default:
0 commit comments