Skip to content

Commit

Permalink
fix: Primary export + peerDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Fanger committed Jun 9, 2022
1 parent 59b7ed1 commit a0f70b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-preprocess-react",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -59,8 +59,6 @@
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"prettier-plugin-svelte": "^2.7.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"sass": "^1.52.2",
"svelte": "^3.48.0",
"svelte-check": "^2.7.2",
Expand All @@ -73,5 +71,9 @@
},
"dependencies": {
"magic-string": "^0.26.2"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
}
}
2 changes: 1 addition & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import type preprocessReact from "./svelte-preprocess-react";
import preprocessReact from "./svelte-preprocess-react";

export default preprocessReact;

0 comments on commit a0f70b3

Please sign in to comment.