uglifyjs.cmd 344 B

12345678910111213141516171819
  1. @ECHO off
  2. SETLOCAL
  3. CALL :find_dp0
  4. SET _maybeQuote="
  5. IF EXIST "%dp0%\node.exe" (
  6. SET "_prog=%dp0%\node.exe"
  7. ) ELSE (
  8. SET _maybeQuote=
  9. SET "_prog=node"
  10. SET PATHEXT=%PATHEXT:;.JS;=;%
  11. )
  12. %_maybeQuote%%_prog%%_maybeQuote% "%dp0%\..\_uglify-js@2.8.29@uglify-js\bin\uglifyjs" %*
  13. ENDLOCAL
  14. EXIT /b %errorlevel%
  15. :find_dp0
  16. SET dp0=%~dp0
  17. EXIT /b