@storybook/preact-vite 7.0.0-rc.6 → 7.0.0-rc.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './types-0cbefab1.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './types-b20db179.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './types-0cbefab1.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './types-b20db179.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
@@ -885,7 +885,6 @@ interface BuilderOptions {
885
885
  cache?: FileSystemCache;
886
886
  configDir: string;
887
887
  docsMode?: boolean;
888
- env?: (envs: Record<string, string>) => Record<string, string>;
889
888
  features?: StorybookConfig$1['features'];
890
889
  versionCheck?: VersionCheck;
891
890
  releaseNotesData?: ReleaseNotesData;
@@ -1027,6 +1026,10 @@ interface StorybookConfig$1 {
1027
1026
  * Modify or return babel config.
1028
1027
  */
1029
1028
  babel?: (config: TransformOptions, options: Options) => TransformOptions | Promise<TransformOptions>;
1029
+ /**
1030
+ * Modify or return env config.
1031
+ */
1032
+ env?: PresetValue<Record<string, string>>;
1030
1033
  /**
1031
1034
  * Modify or return babel config.
1032
1035
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "7.0.0-rc.6",
3
+ "version": "7.0.0-rc.8",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.0.0-rc.6",
52
- "@storybook/preact": "7.0.0-rc.6"
51
+ "@storybook/builder-vite": "7.0.0-rc.8",
52
+ "@storybook/preact": "7.0.0-rc.8"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^16.0.0",
@@ -73,5 +73,5 @@
73
73
  ],
74
74
  "platform": "node"
75
75
  },
76
- "gitHead": "1467fa1d714cbf43d5d87f9233c6dd42e20da787"
76
+ "gitHead": "42cc9d76db87614261e067f49b0123db30365233"
77
77
  }