Revert "fix: use original moduleName"

This reverts commit 676e49ee2c48b01807d9220e6a554e24126aa6cc.
This commit is contained in:
LeoYuan 袁力皓 2023-03-10 10:37:33 +08:00
parent 8474644e99
commit c61694581b

View File

@ -161,7 +161,7 @@ export class SchemaParser implements ISchemaParser {
...subRoot,
componentName: getRootComponentName(subRoot.componentName, compDeps),
containerType: subRoot.componentName,
moduleName: subRoot.fileName,
moduleName: ensureValidClassName(changeCase.pascalCase(subRoot.fileName)),
};
return container;
});