makedistdeprecated

[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]

Usage no npm install needed!

<script type="module">
  import makedist from 'https://cdn.skypack.dev/makedist';
</script>

README

makedist

npm version npm downloads Github Actions Codecov

Lightweight file-to-file transpiler

Features

  • Vue SFC support (<script> tag transpilation)
  • Typescript support (via esbuild)
  • Automatic copying of assets

Usage

npx makedist [rootDir] [--src=src] [--dist=dist] [--format=cjs|esm]

Compared to tsc / babel

✅ Copies all assets (not just TS)

✅ Supports TypeScript for Vue SFC

✅ Faster, thanks to esbuild

🚧 (WIP) .d.ts generation

License

MIT