-
-
Notifications
You must be signed in to change notification settings - Fork 608
Cannot resolve 'images" module with enabled "modules" param #282
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
or
I ran into this problem as well. It seems like a bug to me because I don't think that changing |
I have the same issue, but it works only if
I use stylus mixing to get font-face
Fonts are under
But style-loader do not resolve it. It works only with relative paths
This is only when file imported with UPDATE: With absolute path files are totally skipped by css-loader and are not copied to |
run into same issue. its sucks. cant work because of this! |
Me too! It must be the first thing to resolve! I cannot make it work with postCSS import but I found a workaround for stylus and maybe sass (less). If specify |
Please fix 😢 This has been plaguing me for over a year now. |
A lot of thanks @the-teacher ! I had the same problem and your solution was resolve it! :) |
From my practice it's better do not process files from In my case I use 2 rules: The first rule processes only components of my project
the 2nd one processes all other rules
|
Feel free to PR |
For PR:
|
Fixed in master, release new major in near future |
Hi! I have a webpack config:
And, I have a module in the path:
src/components/LeftPane/index.js
.The module imported a css file
import classNames from './assets/style.css'
The css file have the string
background: url(./logo.png)
.Problem:
Cannot resolve module 'logo.png' in /path//app-root/src/components/LeftPane/assets
, butlogo.png
in the path.I tried to change
./logo.png
to other variants:logo.png
- cannot resolve/logo.png
- resolve (WTF?), but don't copy todist
components/LeftPane/assets/logo.png
- resolve and copy thelogo.png
todist
../assets/logo.png
- resolve and copy thelogo.png
todist
How to make so that was resolved locally? (
./logo.png
)The text was updated successfully, but these errors were encountered: