mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
13 lines
311 B
JavaScript
13 lines
311 B
JavaScript
var fs = require('fs-extra');
|
|
|
|
var source = './plugins/camera3d/dist/';
|
|
var dest = '../phaser3-examples/public/plugins/';
|
|
|
|
if (fs.existsSync(dest))
|
|
{
|
|
fs.copySync(source, dest, { overwrite: true });
|
|
}
|
|
else
|
|
{
|
|
console.log('Copy-to-Examples failed: Phaser 3 Examples not present at ../phaser3-examples');
|
|
}
|