@vizejs/rspack-plugin 0.729.0 → 0.731.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +8 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -47,13 +47,21 @@ declare function matchesPattern(file: string, pattern: string | RegExp | (string
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region ../shared/hot-reload.d.ts
|
|
49
49
|
/** HMR code generation for Vue SFCs using `module.hot` (Rspack/webpack CJS API). */
|
|
50
|
+
/** Native module fingerprints used to choose between rerender and reload. */
|
|
50
51
|
interface HmrMetadata {
|
|
52
|
+
/** Fingerprint of the complete authored SFC. */
|
|
51
53
|
source: string;
|
|
54
|
+
/** Fingerprint of the script block when it exists. */
|
|
52
55
|
script?: string;
|
|
56
|
+
/** Fingerprint of the template block when it exists. */
|
|
53
57
|
template?: string;
|
|
58
|
+
/** Fingerprint of compiler options that affect module behavior. */
|
|
54
59
|
options: string;
|
|
60
|
+
/** Adapter-supplied eligibility flag; the HMR consumer applies further preservation checks. */
|
|
55
61
|
canRerender: boolean;
|
|
62
|
+
/** Adapter-supplied module identity used by the HMR consumer's equality checks. */
|
|
56
63
|
module: string;
|
|
64
|
+
/** Adapter-supplied style-structure identity; emitted style content may be tracked separately. */
|
|
57
65
|
styles: string;
|
|
58
66
|
}
|
|
59
67
|
/** Generate `module.hot` HMR boilerplate for a Vue SFC. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/rspack-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.731.0",
|
|
4
4
|
"description": "High-performance Rspack plugin for Vue SFC compilation powered by Vize",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@vizejs/native": "0.
|
|
62
|
+
"@vizejs/native": "0.731.0",
|
|
63
63
|
"diff": "9.0.0",
|
|
64
64
|
"oxc-parser": "0.157.0",
|
|
65
65
|
"oxc-transform": "0.157.0",
|