ts-esmbuilder

0.2.1 • Public • Published

ts-esmbuilder

A TypeScript project build script that makes output to be ESM friendly.

Features

  • Emit JavaScript output with explicit .js as it's friendly to ECMAScript Module (known as esm).
  • Add /* @__PURE__ */ comment for transformed JSX elements when tsconfig.compilerOptions.jsx === 'react'

Just for personal usage. It's an opinionated TypeScript project tool.

License

 __________________
< The MIT license! >
 ------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Package Sidebar

Install

npm i ts-esmbuilder

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

10.6 kB

Total Files

4

Last publish

Collaborators

  • darrendanielday