https://github.com/lsongdev/kelp-build
:hammer: Simple but powerful build tools.
https://github.com/lsongdev/kelp-build
build-tool web webpack
Last synced: about 1 month ago
JSON representation
:hammer: Simple but powerful build tools.
- Host: GitHub
- URL: https://github.com/lsongdev/kelp-build
- Owner: lsongdev
- Created: 2019-06-04T07:55:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T07:01:21.000Z (over 3 years ago)
- Last Synced: 2025-02-13T22:23:42.480Z (over 1 year ago)
- Topics: build-tool, web, webpack
- Language: JavaScript
- Homepage: https://npmjs.org/@kelpjs/build
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## kelp-build
### install
```bash
~$ npm i -g @kelpjs/build
```
### configurage
kbuild.config.js
```js
const externals = require('@kelpjs/build/plugins/externals');
module.exports = {
input: "./src/index.ts",
style: {
extract: false
},
typescript: true,
plugins: [
externals([
'react',
'react-dom'
])
],
output: "my-components.js"
}
```
### usage
```bash
~$ kbuild
> kbuild
Happy[1]: Version: 5.0.1. Threads: 8
Happy[1]: All set; signaling webpack to proceed.
[@kelpjs/build] Javascript compile success, cost 3351ms
```
### license
This Project is under [MIT License](https://opensource.org/licenses/MIT).