0.0.7 • Published 1 year ago
ndst v0.0.7
Ndst
Bundle your Typescript project using esbuild and rollup.
✅ .js
, .ts
, .jsx
, .tsx
, .json
files
✅ dts
declaration files
✅ esm
and cjs
output
✅ configurable using ndst.config.ts
or cli options
Install
# npm
npm install -D ndst
# yarn
yarn add -D ndst
# pnpm
pnpm install -D ndst
# bun
bun install -D ndst
Usage
bun ndst [entry,entry] [options]
Use ndst.config.ts
// ndst.config.ts
import { defineConfig } from 'ndst'
export default defineConfig({
entry: ['src/index.ts'],
format: "esm",
bundle: true,
minify: true,
})
Config file will be automatically detected.
<!-- /automd -->
<!-- automd:contributors author="malezjaa" license="MIT" github="malezjaa/ndst" -->
Published under the [MIT](https://github.com/malezjaa/ndst/blob/main/LICENSE) license.
Made by [@malezjaa](https://github.com/malezjaa) and [community](https://github.com/malezjaa/ndst/graphs/contributors) 💛
<br><br>
<a href="https://github.com/malezjaa/ndst/graphs/contributors">
<img src="https://contrib.rocks/image?repo=malezjaa/ndst" />
</a>
<!-- /automd -->
<!-- automd:with-automd -->
---
_🤖 auto updated with [automd](https://automd.unjs.io)_
<!-- /automd -->