mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
rename components.json
This commit is contained in:
@@ -232,9 +232,9 @@ components.map(async component => {
|
||||
metadata.components.push(api);
|
||||
});
|
||||
|
||||
// Generate components.json
|
||||
// Generate metadata.json
|
||||
(async () => {
|
||||
const filename = path.join('./dist/components.json');
|
||||
const filename = path.join('./dist/metadata.json');
|
||||
const json = JSON.stringify(metadata, null, 2);
|
||||
|
||||
await mkdirp(path.dirname(filename));
|
||||
|
||||
Reference in New Issue
Block a user