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
Feature: allow importing stylesheets as url (e.g. using style-loader/url).
Proposal: Use ":" (colon) at the start, sort of like importing styles from node_modules with a "~". (just an idea, not opposed to hearing other ideas).
Why?
Basically to allow injecting styles into a different DOM.
I have mixed feelings about this issue because the same can be told about any other type of files (images, scripts, etc...). So, adding style-loader/url would just be a quick fix. I think I'm forced to either eject or solve it in userland for now.
I'm closing this issue because I think it is a subset of #3722 which discusses this exact issue (and more) for different types of files.
Is this a bug report?
No. A feature request and proposal.
Feature: allow importing stylesheets as url (e.g. using
style-loader/url
).Proposal: Use ":" (colon) at the start, sort of like importing styles from node_modules with a "~". (just an idea, not opposed to hearing other ideas).
Why?
Basically to allow injecting styles into a different DOM.
Barebones example (which explains my usecase):
Which terms did you search for in User Guide?
CSS as URL, stylesheet as URL, SCSS as URL, code splitting, style splitting
Links I read:
What do I do right now?
In sort of pseudocode, it looks like:
The text was updated successfully, but these errors were encountered: