0.15.0 • Published 2 years ago

esw v0.15.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

esw

github action npm (tag) node-current

esw is a JavaScript/TypeScript library build tool. It offers blazing fast performance utilizing esbuild, and requires zero configuration.

✨Passive usage

Infer build options from package.json by default. Ideally you don't need to write any configurations. Also support multiple entry points via glob syntax(eg. esw src/**/*.ts --outdir=dist) if necessary.

📦Optimized bundling

Driven by esbuild and only bundle codebase without any dependencies and peerDependencies by default.

Installation

npm i esw -D

Getting Started

3 steps to get started:

  1. 🖊 declare main or module or both them in the package.json.

    {
      "name": "esw",
      "main": "dist/index.cjs.js",
      "module": "dist/index.esm.js"
    }

    ⚠️ The output format what module field refers to always be treated as esmwhy.

  2. 🏃‍ Run esw build from the working directory.

    esw build
  3. 🏆 All transpiled products would be placed in the target output path which were inferred by esw.

    codebase root
     └─dist
        ├─index.cjs.js
        └─index.esm.js

Advanced Usage

esw has supported the most of esbuild cli options:

esw build --minify --sourcemap --platform=node --format=esm

Build codebase

esw build src/*.ts

Watch codebase

esw watch src/index.ts

Supported source file types

Please refer to esbuild documentation.

Supported package.json fields

Field nameStatus
main
module
type

License

MIT © Liu Bowen

0.15.0

2 years ago

0.14.1

2 years ago

0.10.2-alpha.0

2 years ago

0.11.0

2 years ago

0.10.1

2 years ago

0.12.0

2 years ago

0.11.1

2 years ago

0.10.2

2 years ago

0.13.0

2 years ago

0.11.2

2 years ago

0.10.3

2 years ago

0.14.0

2 years ago

0.10.0

3 years ago

0.10.0-alpha.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.2

3 years ago

0.7.3

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.1-alpha.1

3 years ago

0.0.1-alpha.24

3 years ago

0.0.1-alpha.0

3 years ago