diff --git a/build.php b/build.php index 851f05a..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'; @@ -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 = [