Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 821 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 821 Bytes

Huron CLI

Huron's CLI is extremely simple and only requires two flags.

  • --config a flag to point Huron to your webpack config, which also contains a configuration for Huron itself
  • --production a flag to tell Huron whether or not you're building for production. By default (without this flag set), Huron will build and server your assets via HMR and webpack-dev-server.
  • You may also run huron help to see documentation on each CLI flag

Example build command: node huron/dist/cli/huron-cli.js --config 'client/config/webpack.config.js' --production.

The source code for this CLI is documented via jsdoc. Run npm install inside the Huron directory and then run npm run doc. Documentation index page will be located at source-docs/index.html.