A build task that can be used regardless of the CLI answer.
$ npm run XXX is a script that is initially set in
In all cases, files with underscores at the beginning are excluded from the build.
These commands include the following builds.
- Clean to output & stats directory (exc. Watch build)
- HTML/CSS/JS (using webpack)
- Copy for static files
- Create a manifest.json
- Create a Service Worker
- YAML to JSON conversion
Used local server is BrowserSync.
Delete the contents of the output and stats directory.