Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaeldelboni/phaser3-es6-webpack4
Plain webpack 4 Boilerplate with Babel, SASS and Phaser3 on board.
https://github.com/rafaeldelboni/phaser3-es6-webpack4
babel boilerplate es6 phaser phaser3 webpack webpack4
Last synced: about 5 hours ago
JSON representation
Plain webpack 4 Boilerplate with Babel, SASS and Phaser3 on board.
- Host: GitHub
- URL: https://github.com/rafaeldelboni/phaser3-es6-webpack4
- Owner: rafaeldelboni
- License: mit
- Created: 2018-03-17T20:34:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T12:53:03.000Z (over 6 years ago)
- Last Synced: 2025-02-06T13:58:17.202Z (5 days ago)
- Topics: babel, boilerplate, es6, phaser, phaser3, webpack, webpack4
- Language: JavaScript
- Size: 391 KB
- Stars: 30
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Phaser3 Es6 Webpack4 Boilerplate
===========> Plain webpack 4 Boilerplate with Babel, SASS and Phaser3 on board
## Setup
You'll need to install a few things before you have a working copy of the project.### 1. Clone this repo:
Navigate into your workspace directory.Run:
```sh
$ git clone https://github.com/rafaeldelboni/phaser3-es6-webpack4.git
```
### 2. Install node.js and [yarn](https://yarnpkg.com/):
https://nodejs.org/en/### 3. Install dependencies:
Navigate to the cloned repo's directory.Run:
```sh
$ yarn
```## Development
Run the local webpack-dev-server with livereload and autocompile on [http://localhost:3000/](http://localhost:3000/)
```sh
$ yarn dev
```
## Deployment
Build the current application
```sh
$ yarn build
```## [webpack](https://webpack.js.org/)
If you're not familiar with webpack, the [webpack-dev-server](https://webpack.js.org/configuration/dev-server/) will serve the static files in your build folder and watch your source files for changes.
When changes are made the bundle will be recompiled. This modified bundle is served from memory at the relative path specified in publicPath.## Credits
Phaser + ES6: https://github.com/lean/phaser-es6-webpack
Webpack 4 + Babel: https://github.com/cvgellhorn/webpack-boilerplate
Phaser 3 + ES6 + Webpack 3: https://github.com/nkholski/phaser3-es6-webpack