fix(compiler-sfc): transformAssetUrl should ignore inline data url (#1431)
This commit is contained in:
@@ -30,6 +30,7 @@ describe('compiler sfc: transform asset url', () => {
|
||||
<img src="~/fixtures/logo.png"/>
|
||||
<img src="http://example.com/fixtures/logo.png"/>
|
||||
<img src="/fixtures/logo.png"/>
|
||||
<img src="data:image/png;base64,i"/>
|
||||
`)
|
||||
|
||||
expect(result.code).toMatchSnapshot()
|
||||
|
||||
Reference in New Issue
Block a user