Skip to content

Commit

Permalink
fix: deactive frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Sep 28, 2023
1 parent 4beb2cb commit 27e591f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
$buildCommands[] = 'composer dump-autoload';
}

/*
//Run npm if package.json is found
if(file_exists('package.json') && file_exists('package-lock.json')) {
$buildCommands[] = 'npm ci --no-progress --no-audit';
Expand All @@ -38,6 +39,7 @@
} elseif(file_exists('package-lock.json') && file_exists('gulp.js') && is_array($argv) && in_array('--allow-gulp', $argv)) {
$buildCommands[] = 'gulp';
}
/*
// Files and directories not suitable for prod to be removed.
$removables = [
Expand Down

0 comments on commit 27e591f

Please sign in to comment.