@tsrx/rspack-plugin-solid 0.0.100 → 0.0.101
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 +6 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,6 +28,12 @@ It also pushes `.tsrx` into `resolve.extensions` and enables `experiments.css`
|
|
|
28
28
|
when unset. In development mode it adds `solid-refresh/babel` unless you pass
|
|
29
29
|
`hot: false`.
|
|
30
30
|
|
|
31
|
+
The plugin runs `babel-preset-solid` with its defaults, which compile Solid's DOM
|
|
32
|
+
output, and TSRX2034 (a `yield` in a template value that Solid's JSX compiler
|
|
33
|
+
moves out of its generator) follows that output. Server builds with
|
|
34
|
+
`generate: 'ssr'` aren't covered: a `yield` that only the SSR output moves isn't
|
|
35
|
+
reported.
|
|
36
|
+
|
|
31
37
|
## Options
|
|
32
38
|
|
|
33
39
|
- `hot`: whether to add `solid-refresh/babel` to the Babel pipeline. Defaults to
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Rspack plugin for @tsrx/solid",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.101",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"babel-loader": "^10.1.1",
|
|
26
26
|
"babel-preset-solid": "2.0.0-rc.3",
|
|
27
27
|
"solid-refresh": "0.8.0-next.7",
|
|
28
|
-
"@tsrx/core": "0.
|
|
29
|
-
"@tsrx/solid": "0.
|
|
28
|
+
"@tsrx/core": "0.6.0",
|
|
29
|
+
"@tsrx/solid": "0.4.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@rspack/core": ">=1.6.0"
|