Closed Tim-ls closed 5 years ago
That is a module URL. You need the tilde.
Look at the readme. This loader is for fully relative URL.
@bholloway but image file name can't found, such as: url('test.png')
@Tim-ls I need a substantial description of your problem. Including the files structure. I don't know what the alias has to do with your problem.
The resolve-url-loader
is for assets fully relative to your source sass files.
Closing due to inactivity
webpack4 alias: src: path.join(__dirname, '..', 'src') such as : 'src/app/test.png' error: not found if add '~src/app/test.png' can work. hope help!!! thanks