@rsbuild/plugin-preact 1.4.0 → 1.5.0-beta.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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -30,8 +30,8 @@ __webpack_require__.d = (exports1, definition)=>{
|
|
|
30
30
|
var __webpack_exports__ = {};
|
|
31
31
|
for(var __webpack_i__ in (()=>{
|
|
32
32
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
pluginPreact: ()=>pluginPreact,
|
|
34
|
+
PLUGIN_PREACT_NAME: ()=>PLUGIN_PREACT_NAME
|
|
35
35
|
});
|
|
36
36
|
let src_require = (0, require("node:module").createRequire)(__rslib_import_meta_url__), PLUGIN_PREACT_NAME = 'rsbuild:preact', pluginPreact = (userOptions = {})=>({
|
|
37
37
|
name: PLUGIN_PREACT_NAME,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
let src_require =
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
let src_require = createRequire(import.meta.url), PLUGIN_PREACT_NAME = 'rsbuild:preact', pluginPreact = (userOptions = {})=>({
|
|
3
3
|
name: PLUGIN_PREACT_NAME,
|
|
4
4
|
setup (api) {
|
|
5
5
|
let options = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-preact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-beta.0",
|
|
4
4
|
"description": "Preact plugin for Rsbuild",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"@prefresh/core": "^1.5.3",
|
|
26
26
|
"@prefresh/utils": "^1.2.0",
|
|
27
27
|
"@rspack/plugin-preact-refresh": "^1.1.2",
|
|
28
|
-
"@swc/plugin-prefresh": "^
|
|
28
|
+
"@swc/plugin-prefresh": "^8.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rslib/core": "0.9.
|
|
32
|
-
"@types/node": "^22.15.
|
|
33
|
-
"preact": "^10.26.
|
|
31
|
+
"@rslib/core": "0.9.2",
|
|
32
|
+
"@types/node": "^22.15.31",
|
|
33
|
+
"preact": "^10.26.9",
|
|
34
34
|
"typescript": "^5.8.3",
|
|
35
|
-
"@rsbuild/core": "1.4.0-beta.
|
|
35
|
+
"@rsbuild/core": "1.4.0-beta.4"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@rsbuild/core": "1.x"
|