0.0.7-beta10 • Published 4 years ago

kelp-build v0.0.7-beta10

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

kelp-build

install

~$ npm i -g kelp-build

configurage

kbuild.config.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

~$ kbuild
> kbuild

Happy[1]: Version: 5.0.1. Threads: 8
Happy[1]: All set; signaling webpack to proceed.
[kelp-build] Javascript compile success, cost 3351ms

license

This Project is under MIT License.