vue3-yuanma/packages/compiler-sfc/__tests__
Evan You 02cbbb718c perf: support only attaching slot scope ids when necessary
This is done by adding the `slotted: false` option to:

- compiler-dom
- compiler-ssr
- compiler-sfc (forwarded to template compiler)

At runtime, only slotted component will render slot fragments with
slot scope Ids. For SSR, only slotted component will add slot scope Ids
to rendered slot content. This should improve both runtime performance
and reduce SSR rendered markup size.

Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on
the `slotted` option from the SFC descriptoer to the `compileTemplate`
call.
2021-03-05 18:28:12 -05:00
..
__snapshots__ fix(compiler-sfc): removeSpecifier issue when removing initial imports (script-setup) (#2729) 2021-02-13 10:06:34 +01:00
fixture chore(compiler-sfc): delete empty file in fixture (#1649) 2020-07-20 12:43:58 -04:00
compileScript.spec.ts fix(compiler-sfc): removeSpecifier issue when removing initial imports (script-setup) (#2729) 2021-02-13 10:06:34 +01:00
compileStyle.spec.ts wip: more consistent compiler-sfc usage + inline mode for ssr 2020-11-20 14:23:09 -05:00
compileTemplate.spec.ts wip: more consistent compiler-sfc usage + inline mode for ssr 2020-11-20 14:23:09 -05:00
cssVars.spec.ts wip: defineOptions -> defineProps + defineEmit + useContext 2020-11-24 19:04:21 -05:00
parse.spec.ts perf: support only attaching slot scope ids when necessary 2021-03-05 18:28:12 -05:00
rewriteDefault.spec.ts fix(compiler-sfc): handle more edge cases in default rewrite 2021-02-26 11:05:20 -05:00
templateTransformAssetUrl.spec.ts fix(compiler-sfc): transformAssetUrls.base should not affect known module requests 2021-01-04 15:10:51 -05:00
templateTransformSrcset.spec.ts fix(compiler-sfc): compiler blank srcset (#3005) 2021-02-03 19:27:34 +01:00
templateUtils.spec.ts fix(compiler-sfc): transformAssetUrl should ignore inline data url (#1431) 2020-06-23 21:46:18 -04:00
utils.ts wip: simplify useCssVars 2020-11-17 13:03:47 -05:00