@rsbuild/plugin-solid 1.0.7 → 1.0.8
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/types.d.ts +26 -5
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -11,10 +11,15 @@ export type SolidPresetOptions = {
|
|
|
11
11
|
*/
|
|
12
12
|
moduleName?: string;
|
|
13
13
|
/**
|
|
14
|
-
* The output mode of the compiler.
|
|
15
|
-
*
|
|
14
|
+
* The output mode of the compiler.
|
|
15
|
+
* Can be:
|
|
16
|
+
* - "dom" is standard output
|
|
17
|
+
* - "ssr" is for server side rendering of strings.
|
|
18
|
+
* - "universal" is for using custom renderers from solid-js/universal
|
|
19
|
+
*
|
|
20
|
+
* @default "dom"
|
|
16
21
|
*/
|
|
17
|
-
generate?: 'dom' | '
|
|
22
|
+
generate?: 'ssr' | 'dom' | 'universal';
|
|
18
23
|
/**
|
|
19
24
|
* Indicate whether the output should contain hydratable markers.
|
|
20
25
|
* @default false
|
|
@@ -61,8 +66,24 @@ export type SolidPresetOptions = {
|
|
|
61
66
|
*/
|
|
62
67
|
validate?: boolean;
|
|
63
68
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
69
|
+
* Remove unnecessary closing tags from template strings. More info here:
|
|
70
|
+
* https://github.com/solidjs/solid/blob/main/CHANGELOG.md#smaller-templates
|
|
71
|
+
*
|
|
72
|
+
* @default false
|
|
66
73
|
*/
|
|
67
74
|
omitNestedClosingTags?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Remove the last closing tag from template strings. Enabled by default even when `omitNestedClosingTags` is disabled.
|
|
77
|
+
* Can be disabled for compatibility for some browser-like environments.
|
|
78
|
+
*
|
|
79
|
+
* @default true
|
|
80
|
+
*/
|
|
81
|
+
omitLastClosingTag?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Remove unnecessary quotes from template strings.
|
|
84
|
+
* Can be disabled for compatibility for some browser-like environments.
|
|
85
|
+
*
|
|
86
|
+
* @default true
|
|
87
|
+
*/
|
|
88
|
+
omitQuotes?: boolean;
|
|
68
89
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-solid",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Solid plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"repository": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"babel-preset-solid": "^1.9.10",
|
|
27
27
|
"solid-refresh": "0.6.3",
|
|
28
|
-
"@rsbuild/plugin-babel": "1.0
|
|
28
|
+
"@rsbuild/plugin-babel": "1.1.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rslib/core": "0.19.
|
|
31
|
+
"@rslib/core": "0.19.6",
|
|
32
32
|
"@types/babel__core": "^7.20.5",
|
|
33
33
|
"typescript": "^5.9.3",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
34
|
+
"@rsbuild/core": "2.0.0-beta.4",
|
|
35
|
+
"@scripts/test-helper": "1.0.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
|