office-gobmx/static/emscripten/environment.js
Jan-Marek Glogowski a27296ded7 WASM gbuild: add --pre-js dependencies
Currently includes environment.js for general environment settings
and soffice_args.js for soffice command line flags.

Change-Id: I1166c5a9ae53c56a69b9223c865b4df525d07450
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128590
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-19 10:56:49 +01:00

5 lines
148 B
JavaScript

if (!('preRun' in Module)) Module['preRun'] = [];
Module.preRun.push(function() {
ENV.SAL_LOG = "+WARN"
ENV.SAL_VCL_QT5_USE_CAIRO = "1"
});