Skip to content

Commit

Permalink
Fixed tranform readme (#413)
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Wiggins <459878+andrewiggins@users.noreply.github.com>
  • Loading branch information
XantreDev and andrewiggins committed Sep 29, 2023
1 parent ae6da55 commit ad6305c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/modern-glasses-repair.md
@@ -0,0 +1,5 @@
---
"@preact/signals-react-transform": patch
---

Added 'module:' prefix to readme to babel recognized plugin correctly
2 changes: 1 addition & 1 deletion packages/react-transform/README.md
Expand Up @@ -26,7 +26,7 @@ Then, setup the transform plugin in your Babel config:
```js
// babel.config.js
module.exports = {
plugins: [["@preact/signals-react-transform"]],
plugins: [["module:@preact/signals-react-transform"]],
};
```

Expand Down

0 comments on commit ad6305c

Please sign in to comment.