Skip to content

Commit 33c5fc6

Browse files
committed
release: v3.4.1
1 parent c0b5007 commit 33c5fc6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
## Unreleased
44

5-
- Add support for `.mts` (fixes [#161](https://github.com/vitejs/vite-plugin-react-swc/issues/161))
5+
## 3.4.1
6+
7+
### Add support for `.mts` (fixes [#161](https://github.com/vitejs/vite-plugin-react-swc/issues/161))
8+
9+
Using CJS in source code will not work in Vite (and will never be supported), so this is better to only use `.ts`.
10+
11+
But to better align with [Vite core defaults](https://vitejs.dev/config/shared-options.html#resolve-extensions), `.mts` extension will now be processed like `.ts`. This maybe reverted in a future major.
612

713
## 3.4.0
814

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vitejs/plugin-react-swc-monorepo",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"type": "module",
55
"private": true,
66
"scripts": {

0 commit comments

Comments
 (0)