fix: use original moduleName

This commit is contained in:
LeoYuan 袁力皓 2023-03-02 19:37:59 +08:00
parent a2d857b143
commit 676e49ee2c

View File

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