Evan You
57bb37bd64
fix(ssr): should not hoist transformed asset urls in ssr compile
...
fix #3874
2022-05-11 12:43:54 +08:00
Evan You
29beda7c6f
fix(compiler-dom): avoid bailing stringification on setup const bindings
2021-12-06 11:53:02 +08:00
Evan You
87c73e99d6
fix(compiler-sfc): make asset url imports stringifiable
2021-12-06 01:19:06 +08:00
zisasign
574070f43f
fix(compiler-sfc): externalRE support automatic http/https prefix url pattern ( #4922 )
...
fix #4920
2021-11-14 21:37:50 -05:00
Evan You
06c5bf53ab
fix(compiler-sfc): properly reuse hoisted asset imports
...
fix #4581
2021-09-16 13:33:02 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
2ea9867398
fix(compiler-sfc): transformAssetUrls.base should not affect known module requests
...
fix https://github.com/vitejs/vite/issues/1343
2021-01-04 15:10:51 -05:00
Joel Denning
db786b1afe
fix(compiler-sfc): support transforming asset urls with full base url. ( #2477 )
2020-12-04 18:20:25 -05:00
underfin
90c285c5c8
fix(compiler-sfc): transformAssetUrl should ignore inline data url ( #1431 )
2020-06-23 21:46:18 -04:00
Evan You
5ddd9d2417
fix(compiler-sfc): asset url transform should ignore direct hash urls
2020-05-29 10:20:57 -04:00
Evan You
d66211849c
fix(compiler-sfc): should not transform external asset url with
...
includeAbsolute: true
2020-05-06 09:41:31 -04:00
Evan You
6a0be882d4
feat(compiler-sfc): support transforming absolute asset urls
...
BREAKING CHANGE: `@vue/compiler-sfc`'s `transformAssetUrlsBase` option
has been removed. It is merged into `trasnformAssetUrls` which now also
accepts the format of
```ts
{
base?: string
includeAbsolute?: string
tags?: { [name: string]: string[] }
}
```
2020-05-04 16:45:19 -04:00
Evan You
36972c20b5
feat(compiler-sfc): add transformAssetUrlsBase option
2020-05-02 16:58:17 -04:00
Sören Schwert
c71ca354b9
fix(compiler-sfc): only transform relative asset URLs ( #628 )
2020-01-20 09:57:17 -05:00
Evan You
90ddb7c260
refactor: expose parse in compiler-dom, improve sfc parse error handling
2019-12-22 19:44:21 -05:00
likui
810b3a3e2a
feat(compiler-sfc): transform asset url ( #500 )
2019-12-01 12:02:53 -05:00