Releases: vuejs/vue-loader
Releases · vuejs/vue-loader
v15.10.1
Bug Fixes
- skip thread-loader when cloning js rules to template compilation pipeline, fixes vuejs/vue#12828 (fb6ff6e)
v17.0.0
v15.10.0
v17.0.1
v16.8.3
v16.8.2
v16.8.1
v16.8.0
Bug Fixes
- hmr: fix hmr regression (bacc6a9)
Features
-
enableTsInTemplate option (7613534)
-
When used with
ts-loader
, due tots-loader
's cache invalidation behavior, it sometimes prevents the template from being hot-reloaded in isolation, causing the component to reload despite only the template being edited. If this is annoying, you can set this option tofalse
(and avoid using TS expressions in templates). -
Alternatively, leave this option on (by default) and use
esbuild-loader
to transpile TS instead, which doesn't suffer from this problem (it's also a lot faster). However, do note you will need to rely on TS type checking from other sources (e.g. IDE orvue-tsc
).
-