mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
21 lines
437 B
Plaintext
21 lines
437 B
Plaintext
---
|
|
title: 'env'
|
|
---
|
|
|
|
Parent: [main.js|ts configuration](./main-config.md)
|
|
|
|
Type: `(config: { [key: string]: string }) => { [key: string]: string }`
|
|
|
|
Defines custom Storybook [environment variables](../configure/environment-variables.md#using-storybook-configuration).
|
|
|
|
{/* prettier-ignore-start */}
|
|
|
|
<CodeSnippets
|
|
paths={[
|
|
'common/main-config-env.js.mdx',
|
|
'common/main-config-env.ts.mdx',
|
|
]}
|
|
/>
|
|
|
|
{/* prettier-ignore-end */}
|