@jsenv/plugin-preact 1.2.29 → 1.3.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/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/plugin-preact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/jsenv/core",
|
|
8
|
-
"directory": "packages/
|
|
8
|
+
"directory": "packages/related/plugin-preact"
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"babel-plugin-transform-hook-names": "1.0.2",
|
|
28
|
-
"@babel/plugin-transform-react-jsx": "7.
|
|
29
|
-
"@babel/plugin-transform-react-jsx-development": "7.
|
|
30
|
-
"@jsenv/ast": "4.0
|
|
28
|
+
"@babel/plugin-transform-react-jsx": "7.22.5",
|
|
29
|
+
"@babel/plugin-transform-react-jsx-development": "7.22.5",
|
|
30
|
+
"@jsenv/ast": "4.1.0",
|
|
31
31
|
"@jsenv/sourcemap": "1.0.10",
|
|
32
32
|
"@jsenv/url-meta": "8.1.0",
|
|
33
33
|
"@prefresh/babel-plugin": "0.5.0",
|
|
34
|
-
"@prefresh/core": "1.5.
|
|
34
|
+
"@prefresh/core": "1.5.1",
|
|
35
35
|
"@prefresh/utils": "1.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@jsenv/core": "*"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"preact": "10.15.
|
|
42
|
-
"react-redux": "8.0.
|
|
41
|
+
"preact": "10.15.1",
|
|
42
|
+
"react-redux": "8.0.7",
|
|
43
43
|
"redux": "4.2.1"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -125,7 +125,10 @@ export const jsenvPluginPreact = ({
|
|
|
125
125
|
...(hookNamesEnabled ? ["babel-plugin-transform-hook-names"] : []),
|
|
126
126
|
...(refreshEnabled ? ["@prefresh/babel-plugin"] : []),
|
|
127
127
|
],
|
|
128
|
-
urlInfo,
|
|
128
|
+
input: urlInfo.content,
|
|
129
|
+
inputIsJsModule: true,
|
|
130
|
+
inputUrl: urlInfo.url,
|
|
131
|
+
outputUrl: urlInfo.generatedUrl,
|
|
129
132
|
});
|
|
130
133
|
const magicSource = createMagicSource(code);
|
|
131
134
|
if (jsxEnabled) {
|