Skip to content

Commit 2dd4f54

Browse files
authored
Update README.md
1 parent 52be2e1 commit 2dd4f54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/babel-plugin-htm/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ A Babel plugin that compiles [htm] syntax to hyperscript, React.createElement, o
44

55
## Usage
66

7-
Basic usage:
7+
In your Babel configuration (`.babelrc`, `babel.config.js`, `"babel"` field in package.json, etc), add the plugin:
88

99
```js
10-
// In your babel config
1110
{
12-
presets: [
11+
"plugins": [
1312
["htm", {
1413
"pragma": "React.createElement"
1514
}]

0 commit comments

Comments
 (0)