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. |
||
|---|---|---|
| .. | ||
| compiler-core | ||
| compiler-dom | ||
| compiler-sfc | ||
| compiler-ssr | ||
| dts-built-test | ||
| dts-test | ||
| reactivity | ||
| runtime-core | ||
| runtime-dom | ||
| runtime-test | ||
| server-renderer | ||
| sfc-playground | ||
| shared | ||
| template-explorer | ||
| vue | ||
| vue-compat | ||
| global.d.ts | ||