Skip to content

Commit

Permalink
Add vite v5 to supported compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDesmond-ca committed Dec 6, 2023
1 parent 9659ae7 commit ae8189a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ Detailed documentation is available at https://ecoAPM.github.io/xunit.ts

- A supported TypeScript compiler
- TypeScript (v4, v5)
- Vite (v2, v3, v4)
- Vite (v2, v3, v4, v5)
- Rollup (v2, v3, v4)
- Parcel (v1, v2)
- Webpack (v5)

Note that 1.4.0 is the last release that will support legacy versions of the above; v2.0 (expected Q4 2023) will support:
- Node.js 18+
- TypeScript 5+
- Vite 4+
- Vite 5+
- Rollup 4+
- Parcel 2+
- Webpack 5+

Ongoing gommercial support for legacy versions is available for [Corporate, Premier, and Title Sponsors](https://github.com/sponsors/ecoAPM).
Ongoing commercial support for legacy versions is available for [Corporate, Premier, and Title Sponsors](https://github.com/sponsors/ecoAPM).

### Installation

Expand Down
18 changes: 18 additions & 0 deletions compiler-tests/rollup3.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import typescript from "@rollup/plugin-typescript";
import path from "path";
import fs from "fs";

const files = fs.readdirSync(__dirname)
.filter(file => file.match("\\.ts$"))
.map(file => path.resolve(__dirname, file));

export default {
input: files,
output: {
dir: "dist/legacy-rollup3"
},
plugins: [typescript({
outDir: "dist/legacy-rollup3"
})],
external: ["xunit.ts"]
};

0 comments on commit ae8189a

Please sign in to comment.