You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-11-27 22:38:10 +02:00
replacing ffmpeg and ffprobe to *-static node packages
This commit is contained in:
@@ -167,7 +167,7 @@ gulp.task('copy-package', (): any => gulp.src([
|
||||
json.scripts = {start: 'node ./src/backend/index.js'};
|
||||
|
||||
if (getSwitch('skip-opt-packages')) {
|
||||
const skipPackages = getSwitch('skip-opt-packages').split(',');
|
||||
const skipPackages = getSwitch('skip-opt-packages').replace(new RegExp(' ', 'g'), ',').split(',');
|
||||
for (const pkg of skipPackages) {
|
||||
for (const key of Object.keys(json.optionalDependencies)) {
|
||||
if (key.indexOf(pkg) !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user