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.
    – bassxzero
    Commented Mar 10, 2023 at 4:32
  • // vue.config.js No configuration module.exports = { configureWebpack: { }, chainWebpack(config) {} }
    – teng liu
    Commented Mar 10, 2023 at 5:12

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.