Skip to content

Commit 65c4945

Browse files
authored
Merge branch 'master' into next-level-shenanigans
2 parents b5a5703 + e792a74 commit 65c4945

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/babel-plugin-htm/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ 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-
[
11-
["htm", {
12-
"pragma": "React.createElement"
13-
}]
14-
]
10+
{
11+
"plugins": [
12+
["htm", {
13+
"pragma": "React.createElement"
14+
}]
15+
]
16+
}
1517
```
1618

1719
```js

0 commit comments

Comments
 (0)