Skip to content

Commit

Permalink
release: v3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Oct 30, 2023
1 parent c0b5007 commit 33c5fc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,13 @@

## Unreleased

- Add support for `.mts` (fixes [#161](https://github.com/vitejs/vite-plugin-react-swc/issues/161))
## 3.4.1

### Add support for `.mts` (fixes [#161](https://github.com/vitejs/vite-plugin-react-swc/issues/161))

Using CJS in source code will not work in Vite (and will never be supported), so this is better to only use `.ts`.

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.

## 3.4.0

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-react-swc-monorepo",
"version": "3.4.0",
"version": "3.4.1",
"type": "module",
"private": true,
"scripts": {
Expand Down

0 comments on commit 33c5fc6

Please sign in to comment.