You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why we still have to face "you may need an appropriate loader to handle this file type" kind of error. I'm trying to load an xml file from my assets, which doesn't sound like something completely crazy in a web environment, and I get this message.
I would just expect webpack to be configured to load the unknown files extensions as raw text, or at least common web extensions like xml, xhtml, and such.
Describe the solution you'd like
I think that we could just update the webpack configuration to load xml as raw text. This way at least we would be able to parse it.
Describe alternatives you've considered
The only alternative I know of right now would be to eject, which is not much of an alternative...
The text was updated successfully, but these errors were encountered:
Is your proposal related to a problem?
I don't understand why we still have to face "you may need an appropriate loader to handle this file type" kind of error. I'm trying to load an xml file from my assets, which doesn't sound like something completely crazy in a web environment, and I get this message.
I would just expect webpack to be configured to load the unknown files extensions as raw text, or at least common web extensions like xml, xhtml, and such.
Describe the solution you'd like
I think that we could just update the webpack configuration to load xml as raw text. This way at least we would be able to parse it.
Describe alternatives you've considered
The only alternative I know of right now would be to eject, which is not much of an alternative...
The text was updated successfully, but these errors were encountered: