phaser/v3/webpack.config.js
Richard Davey 970dea20f5 Added checksum ability to build process.
Fixed RequestAnimationFrame.
2016-11-25 01:37:14 +00:00

29 lines
484 B
JavaScript

'use strict';
const webpack = require('webpack');
const WebpackShellPlugin = require('webpack-shell-plugin');
module.exports = {
context: './src',
entry: {
phaser: './phaser.js'
},
output: {
path: './dist',
filename: '[name].js',
library: 'Phaser'
},
plugins: [
new WebpackShellPlugin({
onBuildStart: 'node create-checksum.js',
onBuildEnd: 'node copy-to-examples.js'
})
]
};