2.1.0 (2022-01-21)
- plugin-vue: compiler is null on rollup (#6566) (b289b2d)
- plugin-vue: make cssm code tree shakeable (#6353) (3fb4118)
- update the vue version in the error message (#6252) (6a47083)
2.0.1 (2021-12-14)
2.0.0 (2021-12-12)
- allow overwriting
define
options in vue & vue-jsx plugins (#6072) (5f3f6b7) - plugin-vue: multiple vue files using the same src file (fix #5925, #5447) (#5994) (df7aec7)
- plugin-vue: resolve vue/compiler-sfc from project root (ce8b0fe)
- plugin-vue: add
reactivityTransform
option. (955d0fe)
- plugin-vue:
refTransform
option has been replaced byreactivityTransform
option. Now also requires vue@^3.2.25. - plugin-vue: now requires vue@^3.2.13 as peer dep
1.10.2 (2021-12-07)
1.10.1 (2021-11-26)
1.10.0 (2021-11-22)
1.10.0-beta.1 (2021-11-19)
- 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.10.0-beta.0 (2021-10-28)
1.9.4 (2021-10-27)
1.9.3 (2021-10-05)
1.9.2 (2021-09-24)
- plugin-vue: handle rewrite default edge case with TS (609a342)
- Revert "feat(plugin-vue): define VUE_SSR flag" (3e2c1bf)
1.9.1 (2021-09-23)
plugin-vue: define VUE_SSR flag (49618c1)(Reverted)
1.9.0 (2021-09-21)
- plugin-vue: enable ts in template also for lang=tsx (ed88df3)
- plugin-vue: support optional @vue/compiler-sfc peer dep (b17b5ae)
1.8.1 (2021-09-19)
- plugin-vue: generate tree-shakable code (316d7af)
1.8.0 (2021-09-18)
- plugin-vue: inline main script for build + avoid sourcemap generation when possible (93d9a2d)
1.7.1 (2021-09-18)
- plugin-vue: properly handle in-template TS syntax + tests (0a2a5e1)
1.7.0 (2021-09-18)
- plugin-vue: support TS in template expressions (01fa2ab)
1.6.2 (2021-09-08)
- plugin-vue: ensure descriptor in case main request is cached (85612fe)
1.6.1 (2021-09-06)
- 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)
- 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)
- 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.
1.3.0 (2021-07-27)
- plugin-vue: support importing vue files as custom elements (3a3af6e)
1.2.5 (2021-07-12)
1.2.4 (2021-06-27)
1.2.3 (2021-06-01)
1.2.2 (2021-04-24)
- plugin-vue: add newline character before class components, fix #2787 (#2933) (8fe828e)
- plugin-vue: avoid duplicate import, fix #2640 (#2897) (011438d)
- plugin-vue: respect
hmr: false
server config, fix #2790 (#2797) (27e0c3f)
1.2.1 (2021-03-31)
1.2.0 (2021-03-26)
- plugin-vue: enable :slotted usage detection (c40c49f)
1.1.5 (2021-02-26)
- 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)
1.1.3 (2021-01-29)
1.1.2 (2021-01-24)
1.1.1 (2021-01-23)
- avoid eager hmr api access (fa37456)
1.1.0 (2021-01-19)
- ssr manifest for preload inference (107e79e)
- plugin-vue: support for vite core new ssr impl (a93ab23)
1.0.6 (2021-01-15)
1.0.5 (2021-01-09)
- 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)
1.0.3 (2021-01-02)
- plugin-vue: custom block prev handling (8dbc2b4)
- hmr: pass context object to
handleHotUpdate
plugin hook (b314771)
- hmr:
handleHotUpdate
plugin hook now receives a singleHmrContext
argument instead of multiple args.