mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Moving to node_modules folder to make easier to upgrade
trying to move from Bootstrap 3 to Bootstrap 5
This commit is contained in:
parent
047e363a16
commit
d4d042e041
8460 changed files with 1355889 additions and 547977 deletions
14
node_modules/mpd-parser/scripts/netlify.js
generated
vendored
Normal file
14
node_modules/mpd-parser/scripts/netlify.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
const path = require('path');
|
||||
const sh = require('shelljs');
|
||||
|
||||
const files = ['dist', 'index.html'];
|
||||
const deployDir = 'deploy';
|
||||
|
||||
// cleanup previous deploy
|
||||
sh.rm('-rf', deployDir);
|
||||
// make sure the directory exists
|
||||
sh.mkdir('-p', deployDir);
|
||||
|
||||
// copy over dist, and html files
|
||||
files
|
||||
.forEach((file) => sh.cp('-r', file, path.join(deployDir, file)));
|
Loading…
Add table
Add a link
Reference in a new issue