0.0.19 • Published 2 years ago

@kelpjs/build v0.0.19

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

kelp-build

install

~$ npm i -g @kelpjs/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.
[@kelpjs/build] Javascript compile success, cost 3351ms

license

This Project is under MIT License.