Commit Graph

26 Commits

Author SHA1 Message Date
Haoqun Jiang 07b3c4b786
fix(compat): correctly transform non-identifier expressions in legacy filter syntax (#10896)
close #10852
2024-05-27 17:04:48 +08:00
edison 7dbdb3edf0
fix(compiler-ssr): fix node clone edge case caused by AST reuse (#9983)
close #9981
2024-01-04 10:52:09 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
edison eb51b23d85
fix(compile-sfc): fix identifier prefixing edge case caused by reused AST (#9867)
close #9853
close #9863
2023-12-19 18:04:36 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You 634519720a fix(compiler-sfc): deindent pug/jade templates
close #3231
close #3842
close #7723
2023-12-01 16:45:53 +08:00
Evan You fb619cf9a4 fix(compiler-sfc): fix ast reuse for ssr 2023-11-27 15:38:30 +08:00
Evan You 79d3cc6cec wip: should not reuse AST when using custom compiler 2023-11-25 16:18:29 +08:00
Evan You 37f9d3da8f wip: compiler-sfc should not attach ast on template with src import 2023-11-25 16:18:29 +08:00
Evan You 5fc695be26 wip: support reusing template ast from sfc descriptor 2023-11-25 16:18:29 +08:00
zhiyuanzmj 26399aa6fa
feat(compiler-core): support v-bind shorthand for key and value with the same name (#9451) 2023-11-02 17:48:11 +08:00
Rudy 50e2253057
fix(compiler/runtime-dom): ignore comments in inline styles (#6808)
fix #6807
2022-11-07 22:42:32 -05:00
Dunqing f9d43b99f8
fix(compilre-core): dynamic v-on and static v-on should be merged (#6747)
fix #6742
2022-09-27 22:46:55 -04: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
HcySunYang 49f4072c83
fix(compiler-ssr): keep the order of imports expression for the fallback branch of SSR (#3448)
fix #3447
2021-03-25 11:10:25 -04:00
Evan You 8ac2241b22 wip: more consistent compiler-sfc usage + inline mode for ssr 2020-11-20 14:23:09 -05: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 47e984d31f refactor(compiler): provide _ctx and _cache via arguments 2020-02-10 17:29:12 -05:00
Sören Schwert c71ca354b9 fix(compiler-sfc): only transform relative asset URLs (#628) 2020-01-20 09:57:17 -05:00
Evan You 59c595c1e8 refactor: use named export for compiled render function 2019-12-24 11:04:44 -05:00
Evan You 90ddb7c260 refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
宋铄运 559fa27185 test(compiler-sfc): more tests (#536) 2019-12-11 09:26:14 -05:00
Evan You 818bf17cb7 feat(compiler-sfc): use @vue/compiler-dom by default 2019-12-10 22:23:55 -05:00
Evan You 3e3188fa9f refactor: adjust sfc compiler options 2019-12-10 17:41:56 -05:00
Evan You c8c5b16ef7 feat(compiler-sfc): properly pass on options 2019-12-10 12:22:23 -05:00
宋铄运 0a14c04c81 feat(compiler-sfc): compile template WIP (#534) 2019-12-10 12:01:56 -05:00