webpack-dev-server.cmd
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe --max-old-space-size=10240" (
SET "_prog=%dp0%\node.exe --max-old-space-size=10240"
) ELSE (
SET "_ prog=node 一max-old-space-size=10240"
SET PATHEXT=%PATHEXT:;.JS;=;%
%_prag% "%dp0%\..\webpack-dev-server\bin\webpack-dev-server.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b