mirror of https://github.com/vuejs/core.git
magic-string's trim method uses a regex check for aborting which turns out to be extremely expensive - it cna take up to 10% time in total SFC compilation! The usage here is purely aesthetic so simply removing it for a big perf gain is well worth it. |
||
---|---|---|
.. | ||
__snapshots__ | ||
defineEmits.spec.ts | ||
defineExpose.spec.ts | ||
defineModel.spec.ts | ||
defineOptions.spec.ts | ||
defineProps.spec.ts | ||
definePropsDestructure.spec.ts | ||
defineSlots.spec.ts | ||
hoistStatic.spec.ts | ||
resolveType.spec.ts |