mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
feat(generateContent): remove "content" key unused for generated files
This commit is contained in:
@@ -122,6 +122,12 @@ export default async function generateContent() {
|
||||
if (playgroundURL) {
|
||||
frameworkSnippet.playgroundURL = playgroundURL;
|
||||
}
|
||||
|
||||
// Remove content key, not used anymore
|
||||
frameworkSnippet.files = frameworkSnippet.files.map((file) => ({
|
||||
...file,
|
||||
content: undefined,
|
||||
}));
|
||||
}
|
||||
|
||||
if (!byFrameworkId[frameworkId]) {
|
||||
|
||||
Reference in New Issue
Block a user