CLI
The Command-line Interface can run either through npx, or by installing globally with npm i -g html-chunk-loader
Quickstart
npx html-chunk-loader quickstart
Runs the quickstart module in the current working directory, generates boiler plate for a simple project setup.
Static Site Generation
npx html-chunk-loader ssg
Runs the ssg module, it will load your settings using the static_config
property in your project's package.json.hcl_config
, or in hcl-config.js
.
Installing Locally
npm i -g html-chunk-loader
html-chunk-loader quickstart
html-chunk-loader ssg