-
Notifications
You must be signed in to change notification settings - Fork 74
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
How to use the library with webpack? #72
Comments
Same problem. Any solutions? |
Here's how I got it to work in my company repo. I ran the sample cra app here I've appended the webpack.config.js that gets ejected, but for me the important thing I had to change was Changes my repo needed to apply (sorry can't give my company file of course)
Entire ejected webpack.config.js from sample cra (diff it against your own webpack.config.js):
|
I using the webpack to build React. How can I use this library with webpack?
My code:
index.tsx
filewebpack.config.js
fileWhen run I have an error
Thank you very much!
The text was updated successfully, but these errors were encountered: