@rsbuild/plugin-solid 0.3.5 → 0.3.7
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.d.ts +7 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -69,10 +69,14 @@ type SolidPresetOptions = {
|
|
|
69
69
|
omitNestedClosingTags?: boolean;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
type
|
|
72
|
+
type PluginSolidOptions = {
|
|
73
|
+
/**
|
|
74
|
+
* Options passed to `babel-preset-solid`.
|
|
75
|
+
* @see https://www.npmjs.com/package/babel-preset-solid
|
|
76
|
+
*/
|
|
73
77
|
solidPresetOptions?: SolidPresetOptions;
|
|
74
78
|
};
|
|
75
79
|
declare const PLUGIN_SOLID_NAME = "rsbuild:solid";
|
|
76
|
-
declare function pluginSolid(options?:
|
|
80
|
+
declare function pluginSolid(options?: PluginSolidOptions): RsbuildPlugin;
|
|
77
81
|
|
|
78
|
-
export { PLUGIN_SOLID_NAME, type
|
|
82
|
+
export { PLUGIN_SOLID_NAME, type PluginSolidOptions, pluginSolid };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-solid",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Solid plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"babel-preset-solid": "^1.8.6",
|
|
27
27
|
"solid-refresh": "^0.6.0",
|
|
28
|
-
"@rsbuild/plugin-babel": "0.3.
|
|
29
|
-
"@rsbuild/shared": "0.3.
|
|
28
|
+
"@rsbuild/plugin-babel": "0.3.7",
|
|
29
|
+
"@rsbuild/shared": "0.3.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/babel__core": "^7.20.3",
|
|
33
33
|
"typescript": "^5.3.0",
|
|
34
|
-
"@rsbuild/core": "0.3.
|
|
35
|
-
"@scripts/test-helper": "0.3.
|
|
34
|
+
"@rsbuild/core": "0.3.7",
|
|
35
|
+
"@scripts/test-helper": "0.3.7"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@rsbuild/core": "^0.3.
|
|
38
|
+
"@rsbuild/core": "^0.3.7"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public",
|