mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
feat(generateContent): use files sorter from fmw config
This commit is contained in:
@@ -110,6 +110,10 @@ export default async function generateContent() {
|
||||
}
|
||||
|
||||
if (frameworkSnippet.files.length > 0) {
|
||||
const { filesSorter } = FRAMEWORKS.find(
|
||||
(f) => f.id === frameworkId
|
||||
);
|
||||
frameworkSnippet.files = filesSorter(frameworkSnippet.files);
|
||||
const playgroundURL = generatePlaygroundURL(
|
||||
frameworkId,
|
||||
frameworkSnippet.files
|
||||
|
||||
Reference in New Issue
Block a user