Answer the question
In order to leave comments, you need to log in
How to properly write vue.config.js?
Hello!
Can you tell me how to connect the svg-sprite-loader plugin in vue.config.js via chainWebpack so that it only works for one specific folder? I will not understand in any way with this syntax of a view-config. Well, or at least how do I specify this folder (or exclude)?
Answer the question
In order to leave comments, you need to log in
Hey! You can exclude other folders like this:
{
test: /\.svg$/,
exclude: /node_modules/,
...
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question