- 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 vitejs#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.