vue3-core/packages/compiler-sfc/__tests__/compileScript
Evan You e8e3ec6ca7 perf(compiler-sfc): remove magic-string trim on script
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.
2023-11-25 16:18:29 +08:00
..
__snapshots__ perf(compiler-sfc): remove magic-string trim on script 2023-11-25 16:18:29 +08:00
defineEmits.spec.ts fix(compiler-sfc): support resolve extends interface for defineEmits (#8470) 2023-11-10 16:00:04 +08:00
defineExpose.spec.ts test: split compileScript macro tests 2023-04-12 16:46:26 +08:00
defineModel.spec.ts fix(compiler-sfc): model name conflict (#8798) 2023-10-20 17:36:36 +08:00
defineOptions.spec.ts chore: fix typos in defineOptions (#8277) 2023-05-11 19:34:27 +08:00
defineProps.spec.ts fix(compiler-sfc): consistently escape type-only prop names (#8654) 2023-11-10 16:23:47 +08:00
definePropsDestructure.spec.ts fix(compiler-sfc): don't hoist props and emit (#8535) 2023-07-12 11:03:14 +08:00
defineSlots.spec.ts test: split compileScript macro tests 2023-04-12 16:46:26 +08:00
hoistStatic.spec.ts fix(compiler-sfc): don't hoist regexp literial (#8300) 2023-05-18 11:09:40 +08:00
resolveType.spec.ts fix(compiler-sfc): malformed filename on windows using path.posix.join() (#9478) 2023-11-13 15:48:25 +08:00