diff --git a/CHANGELOG.md b/CHANGELOG.md index c0117d045..af0c0b14c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [16.8.2](https://github.com/vuejs/vue-loader/compare/v16.8.1...v16.8.2) (2021-10-26) + + +### Bug Fixes + +* should allow chaining with loaders for non-vue files ([#1889](https://github.com/vuejs/vue-loader/issues/1889)) ([f32f953](https://github.com/vuejs/vue-loader/commit/f32f9538ea34fc08e1a28622227896241847690f)), closes [#1879](https://github.com/vuejs/vue-loader/issues/1879) [#1883](https://github.com/vuejs/vue-loader/issues/1883) [#1890](https://github.com/vuejs/vue-loader/issues/1890) +* **plugin:** use compiler.webpack when possible ([#1884](https://github.com/vuejs/vue-loader/issues/1884)) ([820d23c](https://github.com/vuejs/vue-loader/commit/820d23cbf16013dae894e0d84ed9da6e58a37584)) + + + ## [16.8.1](https://github.com/vuejs/vue-loader/compare/v16.8.0...v16.8.1) (2021-09-22) diff --git a/package.json b/package.json index 7895ffc66..9e0977d88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-loader", - "version": "16.8.2", + "version": "16.8.3", "license": "MIT", "author": "Evan You", "main": "dist/index.js", diff --git a/src/exportHelper.ts b/src/exportHelper.ts index ebf27a3c4..9f98b41e5 100644 --- a/src/exportHelper.ts +++ b/src/exportHelper.ts @@ -1,8 +1,9 @@ // runtime helper for setting properties on components // in a tree-shakable way export default (sfc: any, props: [string, string][]) => { + const target = sfc.__vccOpts || sfc for (const [key, val] of props) { - sfc[key] = val + target[key] = val } - return sfc + return target } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy