Provides a more complex pixi.js (with webpack) setup with full autocomplete support, multipage configurations, including development and production CI support.
npm install
Installs node_modules included in package.json.npm run build-dev
Triggers full webpack bundling for development.npm run watch-dev
Triggers full webpack bundling and on-going change monitoring for development.npm run build-prod
Triggers full webpack bundling for production.npm run watch-prod
Triggers full webpack bundling and on-going change monitoring for production.
- Install the VSCode extension Live Server (by Ritwick Dey) and click on the
Go Live
button in the bottom right (will automatically refresh on saved changes).
- Install the VSCode extension Prettier Code Formatter and configure VSCode to format on save and use Prettier instead of the default.
- The project index.html is auto-generated in the
dist
folder as part of the webpack configuration, specificallyHtmlWebpackPlugin
. - All build artifacts will be placed in the generated
dist
folder. - The
dist
folder is completely emptied every triggered build (i.e. bundling event).