mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
970dea20f5
Fixed RequestAnimationFrame.
29 lines
484 B
JavaScript
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'
|
|
})
|
|
|
|
]
|
|
|
|
};
|