We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b977c94 commit dd23c8aCopy full SHA for dd23c8a
src/generate/component/index.ts
@@ -64,7 +64,7 @@ export default function (options: ComponentOptions): Rule {
64
return tree;
65
}
66
67
- const componentPath = componentInfo.classPath;
+ const componentPath = componentInfo.classPath.replace(/\.ts$/, '');
68
const componentDir = dirname(componentPath);
69
if (platformUse.useWeb) {
70
const webModule = findModule(tree, options, componentDir, extensions.web);
0 commit comments