Godofbrowser /
vuejs-dialog
| 1 | const fs = require('fs-extra'); |
||
| 2 | |||
| 3 | const source = './dist/vuejs-dialog.min.js'; |
||
| 4 | const dest = './docs/js/vuejs-dialog.min.js'; |
||
| 5 | |||
| 6 | fs.copy(source, dest, function (err) { |
||
| 7 | |||
| 8 | if (err) |
||
| 9 | { |
||
| 10 | return console.error(err); |
||
| 11 | } |
||
| 12 | |||
| 13 | console.log('Copied to ' + dest); |
||
|
0 ignored issues
–
show
Best Practice
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | }); |