Open kasperkowalski opened 3 years ago
The ~
is wrong maybe a outdated css-loader option?
I get the same type of error when upgrading from postcss-loader version 3.x to 4.x (also on 5.x).
Sadly the newer version of Webpack Encore (1.x) requires postcss-loader ^4.0.0 || ^5.0.0
.
Hi
I've tried to run the plugin along with my webpack-encore configuration. But unfortunately i'm gettimg this error message:
Syntax Error: ModuleNotFoundError: Module not found: Error: Can't resolve '~/Users/..../frontend/assets/node_modules/iconfont-webpack-plugin/placeholder.svg' in '/Users/..../frontend/assets/src/common'
I've checked the path and the file is there however it's empty.
My webpack-encore config looks like this:
icons.scss:
and package.json deDependencies section
TIA for any advice