Skip to content

Commit

Permalink
release: v3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed May 8, 2023
1 parent d59c343 commit 3781470
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## 3.3.1

- 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))
- 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.

## 3.3.0

- 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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-react-swc-monorepo",
"version": "3.3.0",
"version": "3.3.1",
"type": "module",
"private": true,
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import { publish } from "@vitejs/release-scripts";
publish({
defaultPackage: "plugin-react-swc",
getPkgDir: () => "dist",
provenance: true,
});

0 comments on commit 3781470

Please sign in to comment.