Licence
MIT
Version
1.0.28
Deps
34
Size
47 kB
Vulns
10
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
Document Site Builder
An excersize in webpack configuration
Getting Started
with npx:
npx document-site-builder -h
with bash:
document-site-builder -h
Help
USAGE
$ document-site-builder [COMMAND]
COMMANDS
build Builds the contents of [FOLDER]
dev Runs a webpack development service to see changes you make
locally
help display help for document-site-builder
Running a dev server
Starting a local development server, to show a preview of your content in a browser window. All mdx files in the designated folder will be included as entrypoints.
document-site-builder dev -h
Runs a webpack development service to see changes you make locally
USAGE
$ document-site-builder dev FOLDER
ARGUMENTS
FOLDER [default: docs] folder to watch
OPTIONS
-h, --help show CLI help
EXAMPLE
$ document-site-builder dev docs
Building Static Bundle
document-site-builder build -h
USAGE
$ document-site-builder build FOLDER
ARGUMENTS
FOLDER [default: docs] folder to watch
OPTIONS
-h, --help show CLI help
-o, --outputFolder=output folder [default: out]
EXAMPLE
$ document-site-builder build docs