Skip to content

Commit

Permalink
Update @vitejs/plugin-react dependency for vite 4 (#548)
Browse files Browse the repository at this point in the history
Fixes #547

This also updates the version of mdx1-csf to one that no longer requires the use of the react vite plugin to compile jsx, it handles compilation itself.  So, we no longer need to include `@vitejs/plugin-react` in all projects, and react projects will need to make sure it's installed.  That makes this a breaking change.

And this also updates Vite to 4 in the examples, and fixes some missing dependencies.

---------

Co-authored-by: Josh Wooding <[email protected]>
  • Loading branch information
IanVS and joshwooding authored Feb 2, 2023
1 parent 3cbb6e9 commit acfa986
Show file tree
Hide file tree
Showing 24 changed files with 6,103 additions and 9,219 deletions.
2 changes: 1 addition & 1 deletion examples/lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"npm-run-all": "^4.1.5",
"rollup-plugin-postcss-lit": "^2.0.0",
"sass": "^1.50.1",
"vite": "^3.1.0-beta.1",
"vite": "4.0.4",
"wait-on": "^6.0.1"
}
}
Loading

0 comments on commit acfa986

Please sign in to comment.