Skip to content

Create React App with meterial icons #5289

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

Closed
alexmelnyk opened this issue Oct 4, 2018 · 4 comments
Closed

Create React App with meterial icons #5289

alexmelnyk opened this issue Oct 4, 2018 · 4 comments

Comments

@alexmelnyk
Copy link

Some external packages is not working with react-scripts 2 after ejecting. For example "material-design-icons".
There is error that I'm trying to import files that outside of src folder. So I removed ModuleScopePlugin from webpack config, but it gave a new error: can't resolve url "../../..examle.icon". I tried to use "resolve-url-loader" but no success.

Can you provide any suggestion how to handle this?

@Timer
Copy link
Contributor

Timer commented Oct 4, 2018

The same exact project worked before eject? Or did you make configuration changes?

@alexmelnyk
Copy link
Author

Yes, I made some changes. I've added typescript and installed necessary npm modules. But I think its does not apply to the issue

@alexmelnyk
Copy link
Author

UPD:

added root option to resolve-url-loader, and it works with material-icons.
But the same problem with roboto-fontface

@Timer
Copy link
Contributor

Timer commented Oct 4, 2018

Sorry, but we can't supply support if you've ejected and touched any configuration. If you're able to reproduce this without editing a single file after eject, feel free to tell us.

Otherwise, good luck! You can probably try stack overflow for some help.

@Timer Timer closed this as completed Oct 4, 2018
@lock lock bot locked and limited conversation to collaborators Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants