Problems encountered in using postcss-sprites in webpack

prepare to use postcss-sprites to synthesize sprite images in webpack4. The project directory is as follows:

clipboard.png

webpack:

clipboard.png:
csspostcss-loader
postcss.config.js:

clipboard.png;
"test"
webpack

clipboard.png

has been printing test,. If you comment out the postcss-sprites, you will have no problem. Ask God to explain.

Mar.21,2021
Menu