esbuild-jest-transform
v2.0.1
Published
You can use settable esbuild transform on Jest.
Downloads
8,525
Readme
esbuild-jest-transform
esbuild jest plugin. You can set the build options of esbuild by passing them as transform options.
Install
npm install -D esbuild esbuild-jest-transform
Setup
jest.config.js
"transform": {
"^.+\\.[jt]sx?$": "esbuild-jest-transform"
},
config
jest.config.js
"transform": {
"^.+\\.[jt]sx?$": [
"esbuild-jest-transform",
{
"target": "es2015",
}
]
},