From 0ea614f5ad223f3d941629d08992eec578881c91 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 18 Oct 2023 16:19:40 +0800 Subject: [PATCH 1/3] chore: v15.11.0 changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27a9db780..83d9bf0f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ + +# [15.11.0](https://github.com/vuejs/vue-loader/compare/v15.10.2...v15.11.0) (2023-10-18) + +### Features + +* A new `experimentalInlineMatchResource` option (webpack 5 only), which leverages webpack 5's [inline matchResource](https://webpack.js.org/api/loaders/#inline-matchresource) feature in the underlying implementation, and works well with the [`experiments.css`](https://webpack.js.org/configuration/experiments/#experimentscss) feature. This also makes `vue-loader` compatible with [Rspack](https://www.rspack.dev/guide/vue). ([#2058](https://github.com/vuejs/vue-loader/pull/2058)) + # [15.10.2](https://github.com/vuejs/vue-loader/compare/v15.10.1...v15.10.2) (2023-08-23) From 2a5c9aa3be4b226ef837d1e1afddb78ac3d8fdfe Mon Sep 17 00:00:00 2001 From: blackie Date: Wed, 18 Oct 2023 18:44:16 +0800 Subject: [PATCH 2/3] fix: fix read property error for accessing lang of script (#2060) Co-authored-by: Haoqun Jiang --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index ea1f0177f..a65a73abf 100644 --- a/lib/index.js +++ b/lib/index.js @@ -117,7 +117,7 @@ module.exports = function (source) { // let isTS = false const { script, scriptSetup } = descriptor if (script || scriptSetup) { - const lang = script.lang || (scriptSetup && scriptSetup.lang) + const lang = (script && script.lang) || (scriptSetup && scriptSetup.lang) // isTS = !!(lang && /tsx?/.test(lang)) const externalQuery = script && !scriptSetup && script.src ? `&external` : `` From fab76bde706d8611dad73d1e8dc1c3eb337fcb53 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 18 Oct 2023 18:44:46 +0800 Subject: [PATCH 3/3] 15.11.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a11151eb9..aa8d57558 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-loader", - "version": "15.11.0", + "version": "15.11.1", "description": "Vue single-file component loader for Webpack", "main": "lib/index.js", "typings": "lib/index.d.ts", 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