This website works better with JavaScript
1.10.2 (2021-12-07)
Bug Fixes
plugin-vue: misleading error thrown after refresh or hmr (#5870 ) (5c07cec )
1.10.1 (2021-11-26)
Bug Fixes
1.10.0 (2021-11-22)
Bug Fixes
plugin-vue dev scripts error in ssr-vue (#5607 ) (502b8f2 )
plugin-vue: template src isn't working when script setup (#5418 ) (518da44 )
plugin-vue: use __vccOpts for vue-class-component (#5374 ) (c4f9db2 )
1.9.4 (2021-10-27)
Bug Fixes
plugin-vue: exclude direct css request from hmr target (#5422 ) (4331c26 )
1.9.3 (2021-10-05)
Bug Fixes
plugin-vue: don't use object spread in the config hook (#5155 ) (c1ce471 )
1.9.2 (2021-09-24)
Bug Fixes
plugin-vue: handle rewrite default edge case with TS (609a342 )
Reverts
Revert "feat(plugin-vue): define VUE_SSR flag" (3e2c1bf )
1.9.1 (2021-09-23)
Features
plugin-vue: define VUE_SSR flag (49618c1 ) (Reverted)
1.9.0 (2021-09-21)
Bug Fixes
plugin-vue: enable ts in template also for lang=tsx (ed88df3 )
Features
plugin-vue: support optional @vue /compiler-sfc peer dep (b17b5ae )
1.8.1 (2021-09-19)
Bug Fixes
plugin-vue: generate tree-shakable code (316d7af )
1.8.0 (2021-09-18)
Bug Fixes
Performance Improvements
plugin-vue: inline main script for build + avoid sourcemap generation when possible (93d9a2d )
1.7.1 (2021-09-18)
Bug Fixes
plugin-vue: properly handle in-template TS syntax + tests (0a2a5e1 )
1.7.0 (2021-09-18)
Features
plugin-vue: support TS in template expressions (01fa2ab )
1.6.2 (2021-09-08)
Bug Fixes
plugin-vue: ensure descriptor in case main request is cached (85612fe )
1.6.1 (2021-09-06)
Bug Fixes
hmr doesn't work when modifying the code of jsx in sfc (#4563 ) (1012367 )
plugin-vue: avoid applying ref transform to dependencies by default (cd4f341 )
1.6.0 (2021-08-24)
Features
plugin-vue: latest ref transform support (533b002 )
plugin-vue: warn compiler-sfc version mismatch (e7263b9 )
1.5.0 (2021-08-24)
1.4.0 (2021-08-07)
Features
Custom Elements mode behavior changed: now only inlines the CSS and no longer exports the custom element constructor (exports the component as in normal mode). Users now need to explicitly call defineCustomElement
on the component. This allows the custom element to be defined using an async version of the source component.
Bug Fixes
1.3.0 (2021-07-27)
Bug Fixes
reuse the old preprocessor after changing the lang attr (#4224 ) (7a3c6e6 )
Features
plugin-vue: support importing vue files as custom elements (3a3af6e )
1.2.5 (2021-07-12)
1.2.4 (2021-06-27)
Bug Fixes
1.2.3 (2021-06-01)
Bug Fixes
plugin-vue: rewrite default after ts compiled (#3591 ) (ea5bafa )
1.2.2 (2021-04-24)
Bug Fixes
1.2.1 (2021-03-31)
Bug Fixes
plugin-vue: allow to overwrite feature flags (#2675 ) (a4acc16 )
1.2.0 (2021-03-26)
Features
plugin-vue: enable :slotted usage detection (c40c49f )
1.1.5 (2021-02-26)
Bug Fixes
plugin-vue: fix hmr when emptying sfc file (#2142 ) (493b942 ), closes #2128
plugin-vue: handle default rewrite edge case for commented class (2900a9a ), closes #2277
plugin-vue: import vue file as raw correctly (#1923 ) (5b56d70 )
1.1.4 (2021-01-30)
Bug Fixes
plugin-vue: handle block src pointing to dependency files (bb7da3f ), closes #1812
1.1.3 (2021-01-29)
Bug Fixes
plugin-vue: special handling for class default export in sfc (d3397e6 ), closes #1476
1.1.2 (2021-01-24)
1.1.1 (2021-01-23)
Bug Fixes
avoid eager hmr api access (fa37456 )
Features
support base
option during dev, deprecate build.base
(#1556 ) (809d4bd )
1.1.0 (2021-01-19)
Features
ssr manifest for preload inference (107e79e )
plugin-vue: support for vite core new ssr impl (a93ab23 )
1.0.6 (2021-01-15)
Bug Fixes
1.0.5 (2021-01-09)
Bug Fixes
plugin-vue: default pug doctype (756a0f2 ), closes #1383
plugin-vue: pass on script and style options to compiler-sfc (0503d42 ), closes #1450
1.0.4 (2021-01-04)
Bug Fixes
plugin-vue: mark SFC compiler options as Partial
(#1316 ) (331484c )
Features
1.0.3 (2021-01-02)
Bug Fixes
plugin-vue: custom block prev handling (8dbc2b4 )
Code Refactoring
hmr: pass context object to handleHotUpdate
plugin hook (b314771 )
BREAKING CHANGES
hmr: handleHotUpdate
plugin hook now receives a single
HmrContext
argument instead of multiple args.
1.0.2 (2021-01-02)
Bug Fixes
plugin-vue: avoid throwing on never requested file (48a24c1 )
plugin-vue: custom block prev handling (8dbc2b4 )
avoid self referencing type in plugin-vue (9cccdaa )
plugin-vue: ensure id on descriptor (91217f6 )