christopherball / pixijsAdvancedTemplate

Provides a more complex pixi.js (with webpack) setup with full autocomplete support, multipage configurations, including _development_ and _production_ CI support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pixijsAdvancedTemplate

Provides a more complex pixi.js (with webpack) setup with full autocomplete support, multipage configurations, including development and production CI support.

Usage

  • 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.

Recommendation

  • 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).

Optional

  • Install the VSCode extension Prettier Code Formatter and configure VSCode to format on save and use Prettier instead of the default.

Special Notes

  • The project index.html is auto-generated in the dist folder as part of the webpack configuration, specifically HtmlWebpackPlugin.
  • All build artifacts will be placed in the generated dist folder.
  • The dist folder is completely emptied every triggered build (i.e. bundling event).

About

Provides a more complex pixi.js (with webpack) setup with full autocomplete support, multipage configurations, including _development_ and _production_ CI support.


Languages

Language:JavaScript 73.6%Language:GLSL 25.6%Language:CSS 0.8%