Skip to content
TypeScript/JavaScript module bundler for ESModule
TypeScript JavaScript
Branch: master
Clone or download
Latest commit 1f5f1da Sep 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist ver: v0.7.1 Sep 13, 2019
example
src ver: v0.7.1 Sep 13, 2019
template fix: remove string.replace for create script bundle Aug 18, 2019
.editorconfig wip Aug 14, 2019
.gitignore wip: fixing Aug 14, 2019
.npmignore Create .npmignore Aug 16, 2019
README.md Update README.md Aug 18, 2019
package.json ver: v0.7.1 Sep 13, 2019
tsconfig.json fix: move fs-extra to dependencies Aug 16, 2019
yarn.lock feat: fetch remote module Aug 16, 2019

README.md

npm version

tsb

TypeScript/JavaScript module bundler for ESModule

Description

tsb is module bundler for ECMAScript. It bundles TypeScript/JavaScript modules built with pure ESModule.

Concept

  • TypeScript first
    • tsb bundles and transpiles ts/js files with TypeScript Compiler API
  • ESM only
    • tsb only supports ECMAScript that are written with pure ESModule (import/export)
    • CommonJS,AMD (require/exports) are NOT supported
  • URL import support
    • tsb will automatically fetch URL import/export and bundles all dependencies and stores caches.

Install

Via yarn

$ yarn global add @keroxp/tsb

Via npm

$ npm i -g @kerpxp/tsb

or

$ npx @keroxp/tsb

Usage

$ tsb ./example/server.ts > bundle.js

License

MIT

You can’t perform that action at this time.