Skip to content

Instantly share code, notes, and snippets.

class Game {
constructor() {
this.scenes = []
this.textures = []
}
initialize() {
}
{
"presets": [
"env",
"react"
],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
]
}
const path = require('path');
const DashboardPlugin = require('webpack-dashboard/plugin');
module.exports = {
mode: 'development',
entry: './src/app.js',
output: {
path: path.join(__dirname, 'public', 'dist'),
filename: 'bundle.js'
},
@montmirail
montmirail / 0_reuse_code.js
Created June 7, 2017 14:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console