Closed toliklevy closed 6 months ago
Angular
https://stackblitz.com/edit/wwbyfs
accordion
If I add to tsconfig.json module
"@spartan-ng/ui-icon-helm": ["./components/ui-icon-helm/src/index.ts"]
and I want to import it in the component as
import { HlmIconComponent } from '@spartan-ng/ui-icon-helm';
I get the error "Error: Module not found: Error: Can't resolve '@spartan-ng/ui-icon-helm'". But if I import directly by specifying the relative path
import { HlmIconComponent } from '../../components/ui-icon-helm/src/index';
everything works.
Error: Module not found: Error: Can't resolve '@spartan-ng/ui-icon-helm'
No response
Hey there! I just checked your Stackblitz. Here is the changes I made to the tsconfig that seem to make it work:
Let me know if this helps!
Thanks, it works now
Please provide the environment you discovered this bug in.
Angular
https://stackblitz.com/edit/wwbyfs
Which area/package is the issue in?
accordion
Description
If I add to tsconfig.json module
and I want to import it in the component as
I get the error "Error: Module not found: Error: Can't resolve '@spartan-ng/ui-icon-helm'". But if I import directly by specifying the relative path
everything works.
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue