Skip to content

Commit

Permalink
fix: reactivate npm build in build.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianthulin authored Mar 22, 2024
1 parent 6bda1b0 commit b15128f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 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 @@ -37,7 +37,7 @@
$buildCommands[] = 'npm run build';
} 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 b15128f

Please sign in to comment.