@storybook/preact-vite 7.0.0-rc.7 → 7.0.0-rc.9

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.7",
3
+ "version": "7.0.0-rc.9",
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.7",
52
- "@storybook/preact": "7.0.0-rc.7"
51
+ "@storybook/builder-vite": "7.0.0-rc.9",
52
+ "@storybook/preact": "7.0.0-rc.9"
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": "908868e02f55605ad5ebe4299c2d5432fb41e1b8"
76
+ "gitHead": "618743e115ad0f172537a4b7b6cdfb0beaef52b5"
77
77
  }