storybook/docs/api/main-config-env.md
Kyle Gach 1d3262ee62 Address comments:
- Add `babelDefault` and `managerHead` pages
- Fix broken links
- Clarify when some properties are primarily used by addon authors
- Document simplified options for `babel`, `babelDefault`, `viteFinal`, and `webpackFinal`
- Add description for `core.channelOptions`
- Remove the `previewMainTemplate` page
- Document possible shortcomings of some `stories` configurations
- Document limitations of some `typescript` options
2023-05-23 14:15:53 -06:00

21 lines
439 B
Markdown

---
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 -->