mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
use html-minifier-terser instead for translate and fix translate multi-threaded
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ COPY ./ /opt/meshcentral/meshcentral/
|
||||
RUN if [ -n "$DISABLE_MINIFY" ] || [ -n "$DISABLE_TRANSLATE" ]; then \
|
||||
echo -e "----------\nPREPARING ENVIRONMENT...\n----------"; \
|
||||
cd meshcentral && \
|
||||
npm install html-minifier@4.0.0 jsdom@26.0.0 esprima@4.0.1 && \
|
||||
npm install html-minifier-terser@7.2.0 jsdom@26.0.0 esprima@4.0.1 && \
|
||||
cd translate && \
|
||||
echo -e "----------\nSTARTING THE EXTRACTING PROCESS...\n----------"; \
|
||||
node translate.js extractall && \
|
||||
|
||||
Reference in New Issue
Block a user