Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 3781470

Browse files
committed
release: v3.3.1
1 parent d59c343 commit 3781470

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
## 3.3.1
6+
7+
- Add `type: module` to package.json ([#101](https://github.com/vitejs/vite-plugin-react-swc/pull/101)). Because the library already publish `.cjs` & `.mjs` files, the only change is for typing when using the node16 module resolution (fixes [#95](https://github.com/vitejs/vite-plugin-react-swc/issues/95))
8+
- Throw an error when the MDX plugin is after this one ([#100](https://github.com/vitejs/vite-plugin-react-swc/pull/100)). This is an expected breaking change added in `3.2.0` and this should people that were using both plugins before this version to migrate.
9+
510
## 3.3.0
611

712
- Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: https://github.com/microsoft/TypeScript/issues/30511. I advise to use it only for internal libraries for now (fixes #53)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vitejs/plugin-react-swc-monorepo",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"type": "module",
55
"private": true,
66
"scripts": {

scripts/publish.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import { publish } from "@vitejs/release-scripts";
33
publish({
44
defaultPackage: "plugin-react-swc",
55
getPkgDir: () => "dist",
6+
provenance: true,
67
});

0 commit comments

Comments
 (0)