littlejsengine 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.bat CHANGED
@@ -6,11 +6,13 @@ set NAME=game
6
6
  set BUILD_FOLDER=build
7
7
  set BUILD_FILENAME=index.js
8
8
 
9
+ rem install dev packages
10
+ rem call npm install
11
+
9
12
  rem rebuild engine first
10
13
  cd engine
11
14
  call engineBuild.bat
12
15
  if %ERRORLEVEL% NEQ 0 (
13
- pause
14
16
  exit /b %ERRORLEVEL%
15
17
  )
16
18
  cd ..
@@ -41,9 +43,8 @@ if %ERRORLEVEL% NEQ 0 (
41
43
  )
42
44
  del temp_%BUILD_FILENAME%
43
45
 
44
- rem more minification with uglify or terser (they both do about the same)
46
+ rem more minification with uglify
45
47
  call npx uglifyjs -o %BUILD_FILENAME% --compress --mangle -- %BUILD_FILENAME%
46
- rem call terser -o %BUILD_FILENAME% --compress --mangle -- %BUILD_FILENAME%
47
48
  if %ERRORLEVEL% NEQ 0 (
48
49
  pause
49
50
  exit /b %ERRORLEVEL%