zerdos-jest-transform
v0.3.1
Published
A Jest esbuild transformer.
Downloads
4
Readme
Jest esbuild
A Jest esbuild transformer
Install
npm install -D jest-esbuild
Set transform
TypeScript file to jest-esbuild
inside jest.config.js
{
"transform": {
"^.+\\.tsx?$": "jest-esbuild"
}
}
Specify esbuild options
const esbuildOptions = {}
module.export = {
transform: {
"^.+\\.tsx?$": [
"jest-esbuild",
esbuildOptions
]
}
}
License
MIT License © 2021 hannoeru