Skip to content

Commit

Permalink
fix: activate npm section of build.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianthulin authored Mar 22, 2024
1 parent 3058470 commit 51febdf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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,7 +38,6 @@
} 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 51febdf

Please sign in to comment.