0

In the vue-cli webpack chain, I want to change the compiled css source code. For example, I need to change the url reference suffix of png in all the background in the css file to webp. I write a loader, and how do I add this loader

Continue processing with the loader I wrote after the css-loader processing

2
  • Post your webpack.config file. Commented Mar 10, 2023 at 4:32
  • // vue.config.js No configuration module.exports = { configureWebpack: { }, chainWebpack(config) {} } Commented Mar 10, 2023 at 5:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.