Removed checksum.

This commit is contained in:
Richard Davey 2018-02-13 03:23:29 +00:00
parent 4dd65dc27e
commit 5a7a6c20a9
3 changed files with 1 additions and 30 deletions

View file

@ -1,27 +0,0 @@
var fs = require('fs-extra');
var uuid = require('uuid');
var v = uuid.v1();
var output = [
'var CHECKSUM = {',
' build: \'' + v + '\'',
'};',
'module.exports = CHECKSUM;'
];
// Should output a json file, but webpack2 json-loader is broken
// at the moment, so we're outputting a js file instead
fs.writeFile('./src/checksum.js', output.join('\n'), { encoding: 'utf8', flag: 'w' }, function (error) {
if (error)
{
throw error;
}
else
{
console.log('Building #' + v);
}
});

View file

@ -4,7 +4,6 @@
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var CHECKSUM = require('../checksum');
var CONST = require('../const');
/**

View file

@ -39,12 +39,11 @@ module.exports = {
}),
new WebpackShellPlugin({
onBuildStart: 'node create-checksum.js',
onBuildEnd: 'node copy-to-examples.js'
})
],
devtool: 'inline-source-map'
devtool: 'source-map'
};