Skip to content

Commit

Permalink
fix(plugin-vue): user defined transformAssetUrls ignored in productio…
Browse files Browse the repository at this point in the history
…n build (#7171)
  • Loading branch information
Wiejeben committed May 11, 2022
1 parent 4c54800 commit bfab569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-vue/src/template.ts
Expand Up @@ -123,7 +123,7 @@ export function resolveTemplateCompilerOptions(
slash(path.relative(options.root, path.dirname(filename)))
}
}
} else {
} else if (transformAssetUrls !== false) {
// build: force all asset urls into import requests so that they go through
// the assets plugin for asset registration
assetUrlOptions = {
Expand Down

0 comments on commit bfab569

Please sign in to comment.