Commit Graph

10 Commits

Author SHA1 Message Date
Evan You
41d255ba5d fix(compiler-sfc): fix skipped srcset transform when using base option
Based on implementation from #4835 due to conflicts

fix #4819
close #4834, close #4835
2022-05-11 16:55:58 +08:00
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
87c73e99d6 fix(compiler-sfc): make asset url imports stringifiable 2021-12-06 01:19:06 +08:00
underfin
9dc816d634
fix(compiler-sfc): compiler blank srcset (#3005)
fix https://github.com/vitejs/vite/issues/1523
2021-02-03 19:27:34 +01:00
Felix Rilling
829b35e426
chore: typo fixes (#1546)
* chore: fix typos in comments/JSDoc.

* chore: fix typo in internal function name.

* chore: fix typos in test comments/descriptions/variable names.
2020-07-08 12:32:42 +02:00
underfin
90c285c5c8
fix(compiler-sfc): transformAssetUrl should ignore inline data url (#1431) 2020-06-23 21:46:18 -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
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
cf2a0b281f feat(compiler-sfc): transform srcset (#501) 2019-12-02 23:06:14 -05:00