no-bump
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

NoBump

codecov

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

$ npm install no-bump -D

$ yarn add no-bump -D

Usage

In your package.json

{
  "scripts": {
    "build": "bump"
  }
}
$ 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.

import { define } from 'no-bump'

export default define({
  // your config.
})

If you find with cli not enough. You also can use node API.

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

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

Acknowledgements

Thanks to JetBrains for allocating free open-source licences for IDEs such as WebStorm.

JetBrains Black Box Logo logo.

LICENSE

MIT

/no-bump/

    Package Sidebar

    Install

    npm i no-bump

    Weekly Downloads

    3

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    61.3 kB

    Total Files

    12

    Last publish

    Collaborators

    • nonzzz