Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit a64b6b2

Browse files
benjazehrjstcki
authored andcommitted
docs: corrected name of babel preset (#491)
1 parent 52cf044 commit a64b6b2

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/guides/webpack-babel.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,16 @@ Catalog's webpack loader allows you to import Markdown files as pages.
5252

5353
Catalog's Babel preset ensures that JSX source code of [ReactSpecimens](/specimens/react) is preserved.
5454

55-
Add `@catalog/preset-babel` to your presets in `.babelrc`
55+
Add `@catalog/babel-preset` to your presets in `.babelrc`
5656

5757
```code|lang-javascript
5858
{
59-
"presets": ["@catalog/preset-babel"]
59+
"presets": ["@catalog/babel-preset"]
6060
}
6161
```
62+
63+
Don't forget to install the preset via:
64+
65+
```
66+
npm i -D @catalog/babel-preset
67+
```

0 commit comments

Comments
 (0)