mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Changed minification strategy, added minify support to multi-language.
This commit is contained in:
parent
8807ae3b3c
commit
42fb147893
34 changed files with 9395 additions and 7865 deletions
|
@ -1,18 +1,4 @@
|
|||
@ECHO OFF
|
||||
CALL:CompressHandlebars default
|
||||
CALL:CompressHandlebars default-mobile
|
||||
CALL:CompressHandlebars login
|
||||
CALL:CompressHandlebars login-mobile
|
||||
CALL:CompressHandlebars messenger
|
||||
PAUSE
|
||||
GOTO:eof
|
||||
|
||||
:CompressHandlebars
|
||||
ECHO COMPRESS ..\views\%~1.handlebars TO ..\views\%~1-min.handlebars
|
||||
DEL ..\views\%~1-min.handlebars
|
||||
COPY ..\views\%~1.handlebars index.html
|
||||
..\..\WebSiteCompiler\bin\Debug\WebSiteCompiler.exe compress.wcc -c
|
||||
COPY compress.htm ..\views\%~1-min.handlebars
|
||||
DEL compress.htm
|
||||
DEL index.html
|
||||
GOTO:eof
|
||||
CD ..\translate
|
||||
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js minifyall
|
||||
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js translateall
|
||||
|
|
1
public/player-min.htm
Normal file
1
public/player-min.htm
Normal file
File diff suppressed because one or more lines are too long
1
public/translations/player-min_fr.htm
Normal file
1
public/translations/player-min_fr.htm
Normal file
File diff suppressed because one or more lines are too long
1
public/translations/player.min_fr.htm
Normal file
1
public/translations/player.min_fr.htm
Normal file
File diff suppressed because one or more lines are too long
1
public/translations/player_fr.htm-min
Normal file
1
public/translations/player_fr.htm-min
Normal file
|
@ -0,0 +1 @@
|
|||
undefined
|
1
public/translations/player_fr.htm-min2
Normal file
1
public/translations/player_fr.htm-min2
Normal file
File diff suppressed because one or more lines are too long
1
public/translations/player_fr.min.htm
Normal file
1
public/translations/player_fr.min.htm
Normal file
File diff suppressed because one or more lines are too long
1
public/translations/player_fr_fr.min.htm
Normal file
1
public/translations/player_fr_fr.min.htm
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue