Skip to content

Commit bfab569

Browse files
authoredMay 11, 2022
fix(plugin-vue): user defined transformAssetUrls ignored in production build (#7171)
1 parent 4c54800 commit bfab569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/plugin-vue/src/template.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export function resolveTemplateCompilerOptions(
123123
slash(path.relative(options.root, path.dirname(filename)))
124124
}
125125
}
126-
} else {
126+
} else if (transformAssetUrls !== false) {
127127
// build: force all asset urls into import requests so that they go through
128128
// the assets plugin for asset registration
129129
assetUrlOptions = {

0 commit comments

Comments
 (0)
Please sign in to comment.