-
Notifications
You must be signed in to change notification settings - Fork 147
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
Can't @require
a node_modules external CSS file inside stylus tag
#146
Comments
I tried The browser tries to import a non-existant URL |
@DominusVilicus Did you find a solution to your problem? As far as I know importing from Unfortunately, I encountered the same problem today with rollup and have not solution yet. Will let you know if I figured out how to do it... |
The |
Thank you very much @kaisermann for the clarification 👍🏻 |
Did something like this to add my own custom stylus paths @nick-lehmann
|
Describe the bug
![image](https://user-images.githubusercontent.com/17972275/81890232-a023bc00-95e4-11ea-897b-60e9b83ff5c1.png)
Can't import a CSS file from node modules (none of my aliases work from webpack either)
Logs
To Reproduce
The preprocessing is working fine and as expected, but I am trying to fix the issue of resolving these files. It's pretty critical as I'd like to even
@require
a variables file across my application, but I can't do this without having to resort to relative URLs (webpack alias aren't working in stylus either)I don't know what would work to inline a CSS file from node_modules into my stylus tags. I am using webpack.
I've tried things like:
Expected behavior
Inline
@require
'd CSS to the style tagInformation about your project:
Your operating system: Windows
svelte-preprocess
version 3.7.4Using Webpack
Additional context
None
The text was updated successfully, but these errors were encountered: