smart-power-ui/node_modules/.bin/webpack-bundle-analyzer.cmd

7 lines
228 B
Batchfile

@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\webpack-bundle-analyzer\lib\bin\analyzer.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\webpack-bundle-analyzer\lib\bin\analyzer.js" %*
)