- chore(deps): update all non-major dependencies (#10393) (f519423), closes #10393
- chore(deps): update all non-major dependencies (#10488) (15aa827), closes #10488
- fix(plugin-vue): enable ts in template when using tsx in dev mode (#10180) (a9f9d31), closes #10180
- docs: add missing binding in asset import example (#10414) (d7ac96d), closes #10414
- fix(deps): update all non-major dependencies (#10077) (caf00c8), closes #10077
- fix(deps): update all non-major dependencies (#10316) (a38b450), closes #10316
- fix(deps): update all non-major dependencies (#9985) (855f2f0), closes #9985
- fix(deps): update rollup to
^2.79.1
(#10298) (2266d83), closes #10298 - fix(esbuild): transpile with esnext in dev (#10207) (43b7b78), closes #10207
- chore(deps): update dependency slash to v5 (#10317) (9d87c11), closes #10317
- refactor(types): bundle client types (#9966) (da632bf), closes #9966
- docs: fix typo (#9855) (583f185), closes #9855
- feat: support object style hooks (#9634) (757a92f), closes #9634
- chore: fix typo (#9684) (d30f881), closes #9684
- chore(deps): update all non-major dependencies (#9675) (4e56e87), closes #9675
- chore(plugin-vue): update reactivityTransform comment docs [ci skip] (d04784b)
- chore: fix code typos (#9033) (ed02861), closes #9033
- chore: narrow down rollup version (#9637) (fcf4d98), closes #9637
- fix: mention that Node.js 13/15 support is dropped (fixes #9113) (#9116) (2826303), closes #9113 #9116
- fix(vue): remove ssr.external config (#9128) (ec91f98), closes #9128
- refactor(vue): limit passable compilerOptions (#8994) (b7b3e65), closes #8994
- chore: 3.0 release notes and bump peer deps (#9072) (427ba26), closes #9072
- fix(vue): handle undefined on import.meta.hot.accept (fixes #8625) (#9011) (70af44a), closes #8625 #9011
- docs: cleanup changes (#8989) (07aef1b), closes #8989
- fix(deps): update all non-major dependencies (#8802) (a4a634d), closes #8802
- fix(plugin-vue): handle TS decorators in rewriteDefault fallback (cb0c76a)
- chore: use
tsx
directly instead of indirectesno
(#8773) (f018f13), closes #8773 - chore(plugin-vue): mark export helper with null byte (#8792) (8de4319), closes #8792
- feat: bump minimum node version to 14.18.0 (#8662) (8a05432), closes #8662
- feat: experimental.buildAdvancedBaseOptions (#8450) (8ef7333), closes #8450
- chore: use node prefix (#8309) (60721ac), closes #8309
- fix(deps): update all non-major dependencies (#8281) (c68db4d), closes #8281
- fix(deps): update all non-major dependencies (#8391) (842f995), closes #8391
- fix(plugin-vue): fix sourcemap when no script block in sfc (close #8601) (#8604) (ccfccec), closes #8601 #8604
- chore: enable reportUnusedDisableDirectives (#8384) (9a99bc4), closes #8384
- chore: update major deps (#8572) (0e20949), closes #8572
- chore: use
esno
to replacets-node
(#8162) (c18a5f3), closes #8162 - chore(deps): update all non-major dependencies (#8474) (6d0ede7), closes #8474
- feat: expose createFilter util (#8562) (c5c424a), closes #8562
- refactor: remove hooks ssr param support (#8491) (f59adf8), closes #8491
- feat!: migrate to ESM (#8178) (76fdc27), closes #8178
- fix: rewrite CJS specific funcs/vars in plugins (#8227) (9baa70b), closes #8227
- fix(plugin-vue): regenerate scoped css in build watch, fix #7980 (#7989) (dc00225), closes #7980 #7989
- fix(plugin-vue): use server.origin when building base for transformAssetUrls (#8077) (2f7a490), closes #8077
- build!: bump targets (#8045) (66efd69), closes #8045
- chore: enable
import/no-duplicates
eslint rule (#8199) (11243de), closes #8199 - docs(plugin-vue): clarify asset url handling (#8184) (32c75e2), closes #8184
- chore: bump minors and rebuild lock (#8074) (aeb5b74), closes #8074
- chore: revert #8152 (#8161) (85b8b55), closes vitejs/vite#8152 #8161
- chore: update plugins peer deps (d57c23c)
- chore: upgrade to pnpm v7 (#8041) (50f8f3b), closes #8041
- chore: use
unbuild
to bundle plugins (#8139) (638b168), closes #8139 - chore(deps): use
esno
to replacets-node
(#8152) (2363bd3), closes #8152 - chore(lint): sort for imports (#8113) (43a58dd), closes #8113
- chore(plugin-vue): change @rollup/pluginutils to dep from devDep (#8154) (dcc8ea4), closes #8154
- chore(plugin-vue): replace source-map with gen/trace-mapping (#8155) (79a8c85), closes #8155
- fix(plugin-vue): allow overwriting template.transformAssetUrls.includeAbsolute (fix #4836) (#6779) (e0fe200), closes #4836 #6779
- fix(plugin-vue): don't inline ts scripts during build (#7909) (ba6cae9), closes #7909
- fix(plugin-vue): trigger css hmr on custom template languages (#6987) (2289d04), closes #6987
- fix(plugin-vue): user defined transformAssetUrls ignored in production build (#7171) (bfab569), closes #7171
- fix(vue): same src file request same key (#8059) (4c54800), closes #8059
- refactor: use node hash (#7975) (5ce7c74), closes #7975
- build!: remove node v12 support (#7833) (eeac2d2), closes #7833
- feat: import ts with .js in vue (#7998) (9974094), closes #7998
- refactor(plugin-vue): remove querystring import (#7997) (f3d15f1), closes #7997
- chore(deps): update all non-major dependencies (#7780) (eba9d05), closes #7780
- chore(plugin-vue): bump vite peer dep to 2.9.0 (#7472) (12fd1d9), closes #7472
- feat(css): css.devSourcemap option (#7471) (57f14cb), closes #7471
- fix(plugin-vue): respect VUE_PROD_DEVTOOLS setting (#4984) (90e812a), closes #4984
- fix(deps): update all non-major dependencies (#7392) (b63fc3b), closes #7392
- feat: css sourcemap support during dev (#7173) (38a655f), closes #7173
- chore(deps): update all non-major dependencies (#6905) (839665c), closes #6905
- docs(vue): add transformAssetUrls example (#7232) (08e928c), closes #7232
2.2.4 (2022-02-28)
2.2.3 (2022-02-28)
2.2.2 (2022-02-18)
2.2.1 (2022-02-18)
- adjust vue template sourcemap (#6972) (a774303)
- deps: update all non-major dependencies (#6782) (e38be3e)
2.2.0 (2022-02-09)
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.