mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Update packages/generators/app/lib/utils/merge-template.js
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
This commit is contained in:
parent
0369700e26
commit
51feb183c0
@ -213,7 +213,7 @@ async function mergePackageJSON({ rootPath, templateConfig, templatePackageInfo
|
||||
// Use lodash to deeply merge them
|
||||
const mergedConfig = _.merge(packageJSON, templateConfig.package);
|
||||
|
||||
// Add starter info to package.json
|
||||
// Add template info to package.json
|
||||
if (templatePackageInfo.name) {
|
||||
_.set(mergedConfig, 'strapi.template', templatePackageInfo.name);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user