diff --git a/README.md b/README.md index 402dbd8..306f62f 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,10 @@ dist You can use `--target es5` or `"target": "es5"` in `tsconfig.json` to compile the code down to es5, it's processed by [buble](http://buble.surge.sh/). Some features are NOT supported by this target, namely: `for .. of`. +### Building CLI app + +When an entry file like `src/cli.ts` contains hashbang like `#!/bin/env node` tsup will automatically make the outout file executable, so you don't have to run `chmod +x dist/cli.js`. + ### Watch mode ```bash