- feat: non-blocking esbuild optimization at build time (#8280) (909cf9c), closes #8280
- feat(plugin-react): allow options.babel to be a function (#6238) (f4d6262), closes #6238
- fix(deps): update all non-major dependencies (#8281) (c68db4d), closes #8281
- fix(plugin-react): broken optimized deps dir check (#8255) (9e2a1ea), closes #8255
- chore: use
esno
to replacets-node
(#8162) (c18a5f3), closes #8162
- fix: rewrite CJS specific funcs/vars in plugins (#8227) (9baa70b), closes #8227
- build!: bump targets (#8045) (66efd69), closes #8045
- chore: enable
import/no-duplicates
eslint rule (#8199) (11243de), closes #8199
- chore: restore-jsx.spec.ts lint (#8004) (f1af941), closes #8004
- chore: revert vitejs#8152 (#8161) (85b8b55), closes vitejs/vite#8152 #8161
- chore: update plugins peer deps (d57c23c)
- chore: use
unbuild
to bundle plugins (#8139) (638b168), closes #8139 - chore(deps): use
esno
to replacets-node
(#8152) (2363bd3), closes #8152 - chore(lint): sort for imports (#8113) (43a58dd), closes #8113
- chore(plugin-react): add vite peer dep (#8083) (2d978f7), closes #8083
- fix: use Vitest for unit testing, clean regex bug (#8040) (63cd53d), closes #8040
- refactor: remove deprecated api for 3.0 (#5868) (b5c3709), closes #5868
- build!: remove node v12 support (#7833) (eeac2d2), closes #7833
- fix(plugin-react): React is not defined when component name is lowercase (#6838) (bf40e5c), closes #6838
- chore(deps): update all non-major dependencies (#7780) (eba9d05), closes #7780
- chore(deps): update all non-major dependencies (#7949) (b877d30), closes #7949
- fix(deps): update all non-major dependencies (#7668) (485263c), closes #7668
- chore: fix term cases (#7553) (c296130), closes #7553
- chore(deps): update all non-major dependencies (#7603) (fc51a15), closes #7603
- feat(plugin-react): adding jsxPure option (#7088) (d451435), closes #7088
- fix(deps): update all non-major dependencies (#6782) (e38be3e), closes #6782
- fix(deps): update all non-major dependencies (#7392) (b63fc3b), closes #7392
- chore: fix publish, build vite before plugin-react and plugin-vue (#6988) (620a9bd), closes #6988
- chore(deps): update all non-major dependencies (#6905) (839665c), closes #6905
- workflow: separate version bumping and publishing on release (#6879) (fe8ef39), closes #6879
1.2.0 (2022-02-09)
- plugin-react: ensure
overrides
array exists beforeapi.reactBabel
hooks are called (#6750) (104bdb5)
1.1.4 (2022-01-04)
- plugin-react: check for import React statement in .js files (#6320) (bd9e97b), closes #6148 #6148
- plugin-react: restore-jsx bug when component name is lowercase (#6110) (ce65c56)
1.1.3 (2021-12-13)
1.1.2 (2021-12-13)
1.1.1 (2021-12-07)
1.1.0 (2021-11-22)
1.1.0-beta.1 (2021-11-19)
- plugin-react: apply
babel.plugins
to project files only (#5255) (377d0be) - plugin-react: remove querystring from sourcemap filename (#5760) (d93a9fa)
- plugin-react: restore usage of extension instead of id (#5761) (59471b1)
- plugin-react: uncompiled JSX in linked pkgs (#5669) (41a7c9c)
1.1.0-beta.0 (2021-10-28)
1.0.6 (2021-10-25)
1.0.5 (2021-10-18)
- plugin-react: fix regex for react imports (#5274) (00b3e4f)
- plugin-react: transform .mjs files (#5314) (8ce2ea1)
1.0.4 (2021-10-11)
1.0.3 (2021-10-11)
1.0.2 (2021-10-05)
1.0.1 (2021-09-22)
1.0.0 (2021-09-22)
See the readme for more information.
- Support for automatic JSX runtime
- Babel integration for both development and production builds
- Add
react
andreact-dom
toresolve.dedupe
automatically
Thanks to @aleclarson and @pengx17 for preparing this release!
Before @vitejs/plugin-react
, there was @vitejs/plugin-react-refresh
.
See its changelog here.