An open API service indexing awesome lists of open source software.

https://github.com/neo-hack/rollup-template

rollup template
https://github.com/neo-hack/rollup-template

rollup template

Last synced: over 1 year ago
JSON representation

rollup template

Awesome Lists containing this project

README

          

![rollup-template](https://realme-ten.vercel.app/api/v1/banner?colorA=7c2d12\&colorB=c2410c\&textColor=fb923c\&title=rollup-template\&subtitle=NEO\&desc=build%20lib%20with%20condition%20exports)

[![npm](https://img.shields.io/npm/v/@aiou/rollup-template)](https://github.com/neo-hack/rollup-template) [![GitHub](https://img.shields.io/npm/l/@aiou/rollup-template)](https://github.com/neo-hack/rollup-template) [![stackblitz](https://img.shields.io/badge/%E2%9A%A1%EF%B8%8Fstackblitz-online-blue)](https://stackblitz.com/github/neo-hack/rollup-template)

[Edit on StackBlitz ⚡️](https://stackblitz.com/github/neo-hack/rollup-template)

## features

* ⚡ Fast - Build with [`rollup-plugin-esbuild`](https://github.com/egoist/rollup-plugin-esbuild)
* 📊 Stats - output bag bundlesize
* 📦 Exclude `dependencies` and `peerDependencies`, and bundle `devDependencies`
* 💪 Typescript - type safe, support alias path with [`ts-patch`](https://github.com/nonara/ts-patch)
* 🃏 Auto setup package condition exports with [`rollup-plugin-condition-exports`](https://github.com/JiangWeixian/rollup-plugin-condition-exports/tree/master)
* ✅ Vitest
* 📦 Publish with `changesets`

## install

```console
pnpm i @aiou/rollup-template
```

## development

* **Setup** - `pnpm i`
* **Build** - `pnpm build`

#

*built with ❤️ by 😼*