Commit Graph

35 Commits

Author SHA1 Message Date
Evan You f22e32e365 feat(compiler-sfc): expose type resolve APIs 2023-04-16 11:11:26 +08:00
Evan You 3982bef533 feat(compiler-sfc): support resolving type imports from modules 2023-04-15 22:08:39 +08:00
Evan You 8451b92a7a wip: cache fileToScope + improve vue file offset 2023-04-15 22:08:39 +08:00
Evan You b2c874e3b9 refactor(compiler-sfc): move related files into separate directories 2023-04-05 16:35:10 +08:00
Evan You 71635be68d feat(compiler-sfc): support generating variable instead of default export in compileScript 2023-03-30 16:58:41 +08:00
三咲智子 Kevin Deng 701b95ff3d
fix(compiler-sfc): rewrite default export with AST analysis instead of regex (#7068)
closes #7038
closes #7041
closes #7078
2023-03-28 11:54:22 +08:00
Evan You 124373db50 wip: isolatedModules + use rollup-plugin-esbuild 2023-02-03 04:30:19 +08:00
Evan You 29e454d4d1 chore: fix duplicate export 2022-05-10 09:50:12 +08:00
edison decad9df57
types(compiler-sfc): export SFCParseResult type (#2923)
close #2921
2022-05-09 21:37:59 -04:00
Evan You d6be3405b3 types(compiler-sfc): export additional types 2021-12-12 11:44:23 +08:00
Evan You d70fd8d36b feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform 2021-12-12 00:04:38 +08:00
Evan You 68c45e73da feat(compiler-sfc): expose properties for more accurate HMR
ref #4358
reverts #4908
2021-11-26 14:22:26 +08:00
ygj6 c61baac75a
feat(compiler-sfc): export resolveTemplateUsageCheckString for HMR plugin use (#4908) 2021-11-25 22:58:14 -05:00
Evan You acd869f4d6 chore(compiler-sfc): avoid relying on estree type in generated dts 2021-09-23 00:13:54 -04:00
Evan You 40994e967c chore: fix sfc playground ci build 2021-08-23 14:10:11 -04:00
Evan You 0805abe573 refactor(compiler-sfc): refSugar -> refTransform, export shouldTransformRef 2021-08-23 12:19:41 -04:00
Evan You db8dc753c0 feat(experimental): standalone ref transform 2021-08-22 22:21:42 -04:00
Evan You 73f8cae465 refactor(compiler): further extract babel ast utilities 2021-08-22 14:51:16 -04:00
Evan You d1bf35c8b8 workflow(sfc-playground): support multiple files 2021-03-28 18:41:33 -04:00
Evan You f76ddc5ac3 workflow: sfc playground 2021-03-28 01:35:45 -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 cdc9f336fd wip: new cssVars SSR integration + fix cssVars SSR injection for suspense 2020-11-17 18:54:47 -05:00
Stanislav Lashmanov 4421c00903
feat(compiler-sfc): analyze script bindings (#1962)
Also expose `scriptAst` and `scriptSetupAst` on returned script block
2020-08-28 16:21:03 -04:00
meteorlxy bc64c60c7e
style(compiler-sfc): tweak api and types export (#1976) 2020-08-26 15:22:11 -04:00
Evan You b6cdd5621e wip: template binding optimization 2020-07-10 22:12:25 -04:00
Evan You bd5c3b96be feat(compiler-sfc): `<style vars>` CSS variable injection 2020-07-10 16:30:58 -04:00
Evan You b4f7ab45ea refactor: simplify sfc script transform usage 2020-07-09 18:18:46 -04:00
Evan You 3e1cdba9db wip: tests for compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You 1359cc3a28 wip: compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You 0bb1f67d12 types(compiler-sfc): expose SFCAsyncStyleCompileOptions 2020-04-24 17:11:41 -04:00
Evan You 90ddb7c260 refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
Evan You a0ee4fbc36 types: use more specific type names 2019-12-13 11:24:09 -05:00
Evan You 5658f8b678 feat(compiler): expose generateCodeFrame 2019-12-12 21:09:47 -05:00
Evan You d3d4fe84cd fix(vue): properly cache runtime compilation 2019-12-11 09:46:42 -05:00
Evan You 7031e6a07a feat: (wip) setup compiler-sfc 2019-11-06 21:58:15 -05:00