-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing from @github/catalyst generates errors with Webpack 5.24.0 #119
Comments
It seems like
In order to fix the problem, we need to tell webpack the following:
But it seems that isn't recommended by their developers: webpack/webpack#12093 (comment)
|
Thanks for this issue. This looks to be a mistake with the way we import files. We should specify the extension in our import statements. |
It's seems like this is a know issue of the TypeScript compiler that hasn't (won't ?) be fixed microsoft/TypeScript#13422. A workaround is to import all modules with |
This is fixed in |
I created an npm project with webpack. After adding @github/catalyst and importing anything from it, webpack no longer works and produces the errors presented below.
My Environment
https://github.com/heynan0/using-catalyst
The Errors
The text was updated successfully, but these errors were encountered: