no-bump
v0.7.1
Published
A zero config bundler.
Downloads
2
Readme
NoBump
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.