@rsbuild/plugin-preact 0.7.0-beta.0 → 0.7.0-beta.1

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 +6 -3
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,9 +1,12 @@
1
- import type { RsbuildPlugin } from '@rsbuild/core';
2
- export type PluginPreactOptions = {
1
+ import { RsbuildPlugin } from '@rsbuild/core';
2
+
3
+ type PluginPreactOptions = {
3
4
  /**
4
5
  * Whether to aliases `react`, `react-dom` to `preact/compat`
5
6
  * @default true
6
7
  */
7
8
  reactAliasesEnabled?: boolean;
8
9
  };
9
- export declare const pluginPreact: (options?: PluginPreactOptions) => RsbuildPlugin;
10
+ declare const pluginPreact: (options?: PluginPreactOptions) => RsbuildPlugin;
11
+
12
+ export { type PluginPreactOptions, pluginPreact };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-preact",
3
- "version": "0.7.0-beta.0",
3
+ "version": "0.7.0-beta.1",
4
4
  "description": "Preact plugin for Rsbuild",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,15 +22,15 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@rsbuild/shared": "0.7.0-beta.0"
25
+ "@rsbuild/shared": "0.7.0-beta.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "18.x",
29
29
  "typescript": "^5.4.2",
30
- "@rsbuild/core": "0.7.0-beta.0"
30
+ "@rsbuild/core": "0.7.0-beta.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@rsbuild/core": "^0.7.0-beta.0"
33
+ "@rsbuild/core": "^0.7.0-beta.1"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public",