-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
@import rules in css doesn't look in node_modules folder #12
Comments
css @import "~normalize.css/normalize.css"
body {
background: red;
} |
Ah is that documented anywhere? If I have |
Ah figured it out to get working in |
+1, is this documented anywhere? |
@ryanseddon could you please explain how you set up the alias? thanks! |
@sokra there's no way to avoid the |
it now bubbles when the css failed fixes webpack-contrib#11 fixes webpack-contrib#12 fixes webpack-contrib#13
|
For anyone else having trouble importing css like I did, make sure you don't forget the semi-colon at the end:
|
aaaaand simply |
If you want what @ericdfields is doing, you need to override the defaults for |
Non of the above works for me. I get the following error:
I tried both |
@JamesTheHacker do you have |
I also had the same issue with postcss-smart-loader. Using webpack 2 beta 27 |
you need to use @import "normalize.css"; |
@quantuminformation Removing tilde worked for me. Thanks! |
Hi, Is there anyway around this issue? If I have a css file with So if you use the the same css file for two projects one with without modules one with you have to add / remove tilde I've read in other places you "may" remove tilde when using css modules, but it seems like you have to |
@quantuminformation Removing tilde worked for me. Thanks! I have a css file with |
for js
|
I have a file called
base.css
that has an import statementThis is my
app.js
:I've npm installed normalize but running the
webpack
command throws:What am I doing wrong? I understand that it's looking in styles dir but I thought it would scan node_modules first?
The text was updated successfully, but these errors were encountered: