@plumeria/unplugin 18.2.34 → 18.3.1
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/README.md +14 -1
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -196,4 +196,17 @@ If the two disagree, the prop type-checks but is never compiled away. [`@plumeri
|
|
|
196
196
|
|
|
197
197
|
`@plumeria/unplugin` provides HMR optimized for each bundler in development mode (dev server).
|
|
198
198
|
|
|
199
|
-
- **Vite / Farm / Webpack / Rspack**: The
|
|
199
|
+
- **Vite / Farm / Webpack / Rspack**: The extracted stylesheet is served as a virtual module and reloaded only when its content actually changed, so a style edit updates in place without a repaint.
|
|
200
|
+
|
|
201
|
+
## Testing
|
|
202
|
+
|
|
203
|
+
`@plumeria/unplugin/factory` exposes the plugin behind every bundler entry, so a test can drive its `transform`, `resolveId` and `load` hooks directly and assert on the compiled output with no bundler in between. See [Testing](https://plumeria.dev/docs/testing) for the example, and for the component behavior and rendered-page checks that complement it.
|
|
204
|
+
|
|
205
|
+
## API Stability
|
|
206
|
+
|
|
207
|
+
**Stability: Frozen** — the signature will not change; behaviour may still be corrected.
|
|
208
|
+
See [API Stability](https://github.com/zss-in-js/plumeria#api-stability).
|
|
209
|
+
|
|
210
|
+
## License
|
|
211
|
+
|
|
212
|
+
Plumeria is [MIT licensed](https://github.com/zss-in-js/plumeria/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/unplugin",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.3.1",
|
|
4
4
|
"description": "Universal Plumeria plugin for various build tools",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
"import": "./dist/index.mjs",
|
|
37
37
|
"require": "./dist/index.js"
|
|
38
38
|
},
|
|
39
|
+
"./factory": {
|
|
40
|
+
"types": "./dist/core.d.ts",
|
|
41
|
+
"import": "./dist/core.mjs",
|
|
42
|
+
"require": "./dist/core.js"
|
|
43
|
+
},
|
|
39
44
|
"./vite": {
|
|
40
45
|
"types": "./dist/vite.d.ts",
|
|
41
46
|
"import": "./dist/vite.mjs",
|
|
@@ -89,7 +94,7 @@
|
|
|
89
94
|
"dependencies": {
|
|
90
95
|
"@rollup/pluginutils": "^5.4.0",
|
|
91
96
|
"unplugin": "^3.0.0",
|
|
92
|
-
"@plumeria/utils": "^18.
|
|
97
|
+
"@plumeria/utils": "^18.3.1"
|
|
93
98
|
},
|
|
94
99
|
"devDependencies": {
|
|
95
100
|
"@swc/core": "1.15.47",
|