-
-
Notifications
You must be signed in to change notification settings - Fork 608
Prevent css-loader from requiring urls but also prepend root #604
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
Comments
Well, I ended up using
|
This isn't currently supported by the loader, but it should provide an option to filter certain |
It does do the trick - if not a little bit backwards 😄 I don't mind looking into this if it isn't too big. Just point me to the line that does the resolve (I haven't been able to find that bit yet) |
I have my folder structure like so:
My webpack I have this
In the index.js file I have this
In the index.css file I have this:
So I have to have
{ url: true }
in order for the{ root: 'http://localhost:8080/' }
to be prepended - however, it seems like it's trying to make a js module and requiring in the asset, which isn't what I want.....Is there anyway to prevent the css-loader from trying to resolve the url but still have the root prepended
The text was updated successfully, but these errors were encountered: