mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
16 lines
266 B
JavaScript
16 lines
266 B
JavaScript
|
var fs = require('fs-extra');
|
||
|
|
||
|
var source = './dist/phaser.js';
|
||
|
var dest = '../../phaser3-examples/public/js/phaser.js';
|
||
|
|
||
|
fs.copy(source, dest, function (err) {
|
||
|
|
||
|
if (err)
|
||
|
{
|
||
|
return console.error(err);
|
||
|
}
|
||
|
|
||
|
console.log('Copied to ' + dest);
|
||
|
|
||
|
});
|