jest-esbuild
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Jest esbuild

npm version

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

/jest-esbuild/

    Package Sidebar

    Install

    npm i jest-esbuild

    Weekly Downloads

    3,900

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    8.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • hannoeru