CLI
The Command-line Interface can run either through npx, or by installing globally with npm i -g html-chunk-loader
Quickstart
npx -p 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 -p 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
.