Boilerplate for writing p5.js sketches in es6 with babel, webpack and sass.
Clone the repository without the whole history:
git clone --depth 1 git@github.com:mkontogiannis/p5.js-es6.git
Cd into the directory and install the dependencies:
cd p5.js-es6
npm install
Use the following command while writing a sketch to start the dev server with hot reloading:
npm run dev
Use the following command when done to build the bundled minified result under the /dist
folder:
npm run build