-
Notifications
You must be signed in to change notification settings - Fork 82
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
How to import image files from scss file #20
Comments
Please paste the full error. |
I am not using local styles, this commit 7404883. |
Also this works: webpack-contrib/style-loader#55 |
It shouldn't matter if you're using local styles or not, the resulting css should be processed by the style-loader regardless of how you generate the css. |
If I import a png file from a js file like this:
import 'public/image.png'
it works.but I can't import within scss file like this:
this gives me module not found error.
The text was updated successfully, but these errors were encountered: