vue-loader icon indicating copy to clipboard operation
vue-loader copied to clipboard

Option to extend `transformAssetUrls`

Open glen-84 opened this issue 4 years ago • 0 comments

What problem does this feature solve?

If you want to customise transformAssetUrls, you have to specify all of the default values again, instead of just appending to them.

What does the proposed API look like?

I'm not sure, there are multiple options. The most obvious/simple solution would be to just export the defaults from vue-loader, which might in fact come from @vue/component-compiler-utils, so that they could be spread into user options.

glen-84 avatar Aug 10 '21 13:08 glen-84