@storybook/preact 10.3.0-alpha.9 → 10.3.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/preset.js +8 -7
  2. package/package.json +2 -2
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_x1sn5cu6zb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x1sn5cu6zb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x1sn5cu6zb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_21oz9rkm9xq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_21oz9rkm9xq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_21oz9rkm9xq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x1sn5cu6zb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x1sn5cu6zb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x1sn5cu6zb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_21oz9rkm9xq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_21oz9rkm9xq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_21oz9rkm9xq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -27,8 +27,9 @@ var previewAnnotations = async (input = [], options) => {
27
27
  } catch {
28
28
  return existing;
29
29
  }
30
- };
30
+ }, optimizeViteDeps = ["preact/compat/jsx-runtime", "@storybook/react-dom-shim"];
31
31
  export {
32
+ optimizeViteDeps,
32
33
  previewAnnotations,
33
34
  resolvedReact
34
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "10.3.0-alpha.9",
3
+ "version": "10.3.0-beta.1",
4
4
  "description": "Storybook Preact renderer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "peerDependencies": {
55
55
  "preact": "^8.0.0||^10.0.0",
56
- "storybook": "^10.3.0-alpha.9"
56
+ "storybook": "^10.3.0-beta.1"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"