Skip to content

Commit

Permalink
Fix typos in "Writing presets" (#9524)
Browse files Browse the repository at this point in the history
Fix typos in "Writing presets"
  • Loading branch information
shilman committed Jan 18, 2020
2 parents 7b27cce + 68239fa commit 51d526f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/presets/writing-presets/index.md
Expand Up @@ -109,7 +109,7 @@ The presets API is also more powerful than the [standard configuration options](

For example, some users want to configure the webpack for Storybook's UI and addons ([issue](https://github.com/storybookjs/storybook/issues/4995)), but this is not possible using [standard webpack configuration](../custom-webpack-config/) (it used to be possible before SB4.1). However, you can achieve this with a private preset.

If it doesn't exists yet, create a file `.storybook/main.js`:
If it doesn't exist yet, create a file `.storybook/main.js`:

```js
module.exports = {
Expand Down Expand Up @@ -166,4 +166,4 @@ module.exports = {
};
```

Place your `my-preset.js` file where ever you want, if you want to share if far and wide you'll want to make it it's own package.
Place your `my-preset.js` file wherever you want, if you want to share it far and wide you'll want to make it its own package.

1 comment on commit 51d526f

@vercel
Copy link

@vercel vercel bot commented on 51d526f Jan 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.