@rsbuild/plugin-solid 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -3
  2. 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 PluginSolidPresetOptions = {
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?: PluginSolidPresetOptions): RsbuildPlugin;
80
+ declare function pluginSolid(options?: PluginSolidOptions): RsbuildPlugin;
77
81
 
78
- export { PLUGIN_SOLID_NAME, type PluginSolidPresetOptions, pluginSolid };
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.5",
3
+ "version": "0.3.6",
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.5",
29
- "@rsbuild/shared": "0.3.5"
28
+ "@rsbuild/plugin-babel": "0.3.6",
29
+ "@rsbuild/shared": "0.3.6"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/babel__core": "^7.20.3",
33
33
  "typescript": "^5.3.0",
34
- "@rsbuild/core": "0.3.5",
35
- "@scripts/test-helper": "0.3.5"
34
+ "@rsbuild/core": "0.3.6",
35
+ "@scripts/test-helper": "0.3.6"
36
36
  },
37
37
  "peerDependencies": {
38
- "@rsbuild/core": "^0.3.5"
38
+ "@rsbuild/core": "^0.3.6"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public",