diff --git a/build.php b/build.php index 3916509..3dfb7a3 100644 --- a/build.php +++ b/build.php @@ -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'; @@ -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 = [