Skip to content

Commit

Permalink
Upgraded @preact/signals-react to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awhitford committed Mar 11, 2024
1 parent 23f613f commit 8c6d962
Show file tree
Hide file tree
Showing 3 changed files with 534 additions and 600 deletions.
7 changes: 5 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
"publish": "npm publish"
},
"devDependencies": {
"@preact/signals-react": "^1.3.4",
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@preact/signals-react": "^2.0.0",
"@preact/signals-react-transform": "^0.3.0",
"@types/eslint": "^8.44.0",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.7",
Expand All @@ -64,7 +67,7 @@
"zod": "^3.21.4"
},
"peerDependencies": {
"@preact/signals-react": "^1.0.0",
"@preact/signals-react": "^2.0.0",
"react": "^18.0.0"
}
}
6 changes: 5 additions & 1 deletion packages/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export default defineConfig(() => {
],
},
},
plugins: [react()],
plugins: [react({
babel: {
plugins: [["module:@preact/signals-react-transform"]]
}
})],
};
});

0 comments on commit 8c6d962

Please sign in to comment.