17.4.2 (2023-12-30)
- pass compilerOptions to sfc parse & re-enable AST reuse (d2a2e05)
17.4.1 (2023-12-30)
- (temporarily) disable template ast reuse (31b03af)
17.4.0 (2023-12-25)
- leverage ast reuse in 3.4 (479835f)
17.3.1 (2023-10-31)
17.3.0 (2023-10-07)
17.2.2 (2023-06-02)
17.2.1 (2023-06-01)
- A new
experimentalInlineMatchResource
option (webpack 5 only), which leverages webpack 5's inline match resource feature and works well with theexperiments.css
feature (#2046) (3149f6d)
Note: v17.2.0 was released by accident, it has the same content as v17.1.2, therefore not included in the changelog.
17.1.2 (2023-05-29)
- keep build stable when run in a different path (#2040) (a81dc0f)
- properly close the watcher after tests (40b93b9)
17.1.1 (2023-05-11)
- support propsDestructure and defineModel options (6269698)
17.1.0 (2023-04-26)
17.1.0-beta.0 (2023-04-19)
- support 3.3 imported types hmr (bbd98fc)
17.0.1 (2022-10-28)
- add
vue
and@vue/compiler-sfc
to optional peerDependencies (df0ded5), closes #1944 - merge custom queries rather than appending (#1911) (9e4249a)
17.0.1 (2022-10-28)
- add
vue
and@vue/compiler-sfc
to optional peerDependencies (df0ded5), closes #1944 - merge custom queries rather than appending (#1911) (9e4249a)
17.0.0 (2021-12-12)
- support
reactivityTransform
option (e07490e)
- remove
refSugar
option, requirevue@^3.2.13
16.8.3 (2021-11-04)
16.8.3 (2021-11-04)
16.8.2 (2021-10-26)
- should allow chaining with loaders for non-vue files (#1889) (f32f953), closes #1879 #1883 #1890
- plugin: use compiler.webpack when possible (#1884) (820d23c)
16.8.1 (2021-09-22)
- fix template options resolving for ts (91f581b)
16.8.0 (2021-09-22)
- hmr: fix hmr regression (bacc6a9)
-
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
).
-
16.7.1 (2021-09-22)
- remove pure annotation for custom blocks (cd891e5)
16.7.0 (2021-09-21)
- support optional @vue/compiler-sfc peer dep (21725a4)
16.6.0 (2021-09-20)
- generate treeshaking friendly code (11e3cb8)
- support ts in template expressions (573fbd2)
16.5.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.
16.4.1 (2021-08-02)
16.4.0 (2021-07-30)
- customElement option support for Vue 3.2 (e19fcda)
16.3.3 (2021-07-21)
- mark @vue/compiler-sfc as an optional peer dependency (089473a)
16.3.2 (2021-07-20)
16.3.1 (2021-07-16)
- pick up production env in thread-loader context (821a3a3), closes vuejs/vue-next#3921
16.3.0 (2021-06-29)
- pass on compilerOptions and refSugar when using
<script setup>
(7137294)
16.3.0 (2021-06-29)
- pass on compilerOptions and refSugar when using
<script setup>
(7137294)
16.2.0 (2021-03-26)
- enable :slotted usage detection (66a3759)
16.1.2 (2020-12-17)
16.1.1 (2020-12-04)
- ensure consistent component id across blocks (214b3f1)
16.1.0 (2020-11-30)
16.0.0 (2020-11-25)
- update hmr api usage (f9dd610)
- support for experimental sfc features (b85244b), closes #1723
- support for new script setup and css var injection (fd33cad)
- avoid resolveScript call in main loader (e922648)
16.0.0-rc.2 (2020-11-18)
- disable
esModuleInterop
&allowSyntheticDefaultImports
for TS (c76f5e5)
16.0.0-rc.1 (2020-11-07)
- add back generator support (3db9ab8)
16.0.0-rc.0 (2020-11-06)
- should apply cloned rules to custom blocks too (b2d7ffb)
- should check for
type
query for render function imports (41af4b6)
16.0.0-beta.10 (2020-11-03)
- add rule plugins to keep up with webpack 5 new features (be9077c), closes /github.com/webpack/webpack/blob/v5.3.1/lib/NormalModuleFactory.js#L133-L152
- avoid to generate empty css chunk files (e88dbe9), closes #1464
- ensure new webpack5 generator property in rules passes ruleset checks (#1754) (fa79114)
16.0.0-beta.9 (2020-10-27)
- avoid id inconsitency caused by CRLF (4b9b26c), closes #1706
- fix mini-css-extract-plugin missing default export error (#1749) (55c6b12)
- should not pass undefined to bindingsQuery (#1735) (859a45d), closes #1740
16.0.0-beta.8 (2020-09-23)
- fix ssrRender import (83eb488)
- output ssr render function when target is node (e691f6b)
16.0.0-beta.7 (2020-09-09)
16.0.0-beta.6 (2020-09-09)
16.0.0-beta.5 (2020-08-11)
16.0.0-beta.4 (2020-06-23)
16.0.0-beta.3 (2020-05-25)
16.0.0-beta.2 (2020-05-12)
16.0.0-beta.1 (2020-05-06)
- fix css modules code gen (a81c432)
- support webpack 5 (552bcb7)
16.0.0-alpha.3 (2020-02-04)
- should not overwrite render when no is present (04903b6)
16.0.0-alpha.2 (2020-01-10)
- only inject hmrId when HMR is enabled (162a21f)
16.0.0-alpha.1 (2020-01-02)
16.0.0-alpha.0 (2019-12-20)
- should use normalized resource for template code rule clone (a9944ff)
- support Rule.rules + fix rule for render fn (d4072c4)
- apply loaders matching .js to compiled template code (20dbbfc)
- basic hmr (108c1c1)
- basic style support (4dad151)
- css modules (627c826)
- emit template compile error (61c0f8c)
- handle line offset in errors (201cc62)
- more accurate template source map (66d2ab8)
- properly map template position (ee26c3a)
- scopeId support (d9f932e)
- support custom blocks (f238f59)