@dunejs/cli
v1.1.0
Published
command line interface for dune, a static site generator and templating engine
Readme
@dunejs/cli
dune's cli tool - allowing for easy static site generation and server-side rendering
intended to run on node, but should work flawlessly on deno and bun, too.
installation
pnpm i @dunejs/core @dunejs/cli # Use your preferred package manager!this package peer-depends on @dunejs/core. make sure you install a compatible version!
configuration
this tool provides sane defaults, so it should hopefully be plug-and-play.
should you want to change it, it loads the config file from, in order: dune.config.js, dune.config.mjs.
refer to config.ts for configuration options.
usage
dune build- build the current site into static.htmlfilesdune serve- host the current site in SSR mode- also supports
--dev(-d), which enables hot-reload
- also supports
