[bdTheme] Better manifest override
This commit is contained in:
parent
1fa515b245
commit
3dee22c632
|
@ -7,9 +7,7 @@ export default (themePath, repo) => {
|
||||||
|
|
||||||
let manifest = {
|
let manifest = {
|
||||||
main: 'index.js',
|
main: 'index.js',
|
||||||
tags: ['theme', 'port'],
|
tags: ['theme', 'port']
|
||||||
|
|
||||||
...repo[4]
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let match;
|
let match;
|
||||||
|
@ -42,6 +40,8 @@ export default (themePath, repo) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
manifest = Object.assign(manifest, repo[4]);
|
||||||
|
|
||||||
rmSync(themePath);
|
rmSync(themePath);
|
||||||
mkdirSync(themePath);
|
mkdirSync(themePath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue