# no-bump

> A zero config bundler.

Latest version **0.7.1** (published 2023-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install no-bump
pnpm add no-bump
yarn add no-bump
bun add no-bump
```

Provides the command `bump`.

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.1 |
| Published | 2023-01-27 |
| First published | 2022-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 59.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | miaya |
| Keywords | bundler, rollup |

## Links

- npm: https://www.npmjs.com/package/no-bump
- npm.io page: https://npm.io/package/no-bump

## Dependencies (10)

- [rollup](https://npm.io/package/rollup.md) ^3.5.0
- [@swc/core](https://npm.io/package/@swc/core.md) ^1.3.20
- [@swc/helpers](https://npm.io/package/@swc/helpers.md) ^0.4.14
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2
- [yargs-parser](https://npm.io/package/yargs-parser.md) 21.1.1
- [rollup-plugin-swc3](https://npm.io/package/rollup-plugin-swc3.md) ^0.7.0
- [@rollup/plugin-alias](https://npm.io/package/@rollup/plugin-alias.md) ^4.0.2
- [@rollup/plugin-replace](https://npm.io/package/@rollup/plugin-replace.md) ^5.0.1
- [@rollup/plugin-commonjs](https://npm.io/package/@rollup/plugin-commonjs.md) ^23.0.3
- [@rollup/plugin-node-resolve](https://npm.io/package/@rollup/plugin-node-resolve.md) ^15.0.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.7.1 (latest) — 2023-01-27
- 0.7.0 — 2023-01-24
- 0.6.2 — 2022-12-16
- 0.6.1 — 2022-12-01
- 0.6.0 — 2022-11-29
- 0.5.1 — 2022-08-15
- 0.5.0 — 2022-08-01
- 0.4.0 — 2022-07-21
- 0.3.2 — 2022-07-18
- 0.3.1 — 2022-07-17
- 0.3.0 — 2022-07-15
- 0.2.0 — 2022-06-14
- 0.1.0 — 2022-06-12
- 0.0.1 — 2022-06-08

## README

# NoBump

[![codecov](https://codecov.io/gh/nonzzz/no-bump/branch/master/graph/badge.svg?token=44CFZC05YH)](https://codecov.io/gh/nonzzz/no-bump)

### OverView

NoBump is an zero configuration bundler. It based on rollup and you can customize it by a easy way. Let you work with rollup with
a light way.

### Install

```bash

$ npm install no-bump -D

$ yarn add no-bump -D

```

### Usage

In your package.json

```json
{
  "scripts": {
    "build": "bump"
  }
}
```

```bash

$ yarn build

$ npm run build

```

bump will automatically read the config file in the your work sapce (default it's the process.cwd ). Support `bump.config.js`,`bump.config.ts`

`bump` exports `define` API you only usage in your `.ts` or `.js` file.

```js
import { define } from 'no-bump'

export default define({
  // your config.
})
```

If you find with `cli` not enough. You also can use node API.

```js
import { build, watch } from 'build'
```

Node API doesn't read your config file it's more suitable for you to build into your build task.

The full config please see [CONFIGS](./docs/CONFIG.md)

### FAQ

> Can i use vite or rollup plugin?

- Yes. You can use them by yourself. If it's necessary.(If you import a plugin from vite, you should pay attention if they are vite-specific plugin).

> It's different with others zero bundler?

- Yes. `bump` is a minimalist style zero bundler. [ARCHITECUTRE](./docs/ARCHITECUTRE.md)

### Acknowledgements

Thanks to [JetBrains](https://www.jetbrains.com/) for allocating free open-source licences for IDEs such as WebStorm.

<p align="right">
<img width="250px" height="250px" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_square.png" alt="JetBrains Black Box Logo logo.">
</p>

### LICENSE

[MIT](./LICENSE)

---
_Source: https://npm.io/package/no-bump · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
