fix(ssr): should not hoist transformed asset urls in ssr compile
fix #3874
This commit is contained in:
@@ -26,6 +26,7 @@ function compileWithSrcset(
|
||||
? createSrcsetTransformWithOptions(normalizeOptions(options))
|
||||
: transformSrcset
|
||||
transform(ast, {
|
||||
hoistStatic: true,
|
||||
nodeTransforms: [srcsetTransform, transformElement],
|
||||
directiveTransforms: {
|
||||
bind: transformBind
|
||||
|
||||
Reference in New Issue
Block a user