diff --git a/www/chromium/patches/patch-ui_webui_resources_tools_minify_js_py b/www/chromium/patches/patch-ui_webui_resources_tools_minify_js_py new file mode 100644 index 00000000000..8968aceca0c --- /dev/null +++ b/www/chromium/patches/patch-ui_webui_resources_tools_minify_js_py @@ -0,0 +1,12 @@ +Index: ui/webui/resources/tools/minify_js.py +--- ui/webui/resources/tools/minify_js.py.orig ++++ ui/webui/resources/tools/minify_js.py +@@ -32,7 +32,7 @@ def main(argv): + # Spawn a NodeJS script to use the programmatic Terser API, since the CLI API + # does not allow compressing multiple files at once. This is done to avoid + # launching NodeJS once for every input file. +- node.RunNode([ ++ node.RunNode(['--jitless', + os.path.join(_HERE_PATH, 'minify_js.js'), '--in_folder', in_path, + '--out_folder', out_path + ] + args.in_files) diff --git a/www/iridium/patches/patch-ui_webui_resources_tools_minify_js_py b/www/iridium/patches/patch-ui_webui_resources_tools_minify_js_py new file mode 100644 index 00000000000..8968aceca0c --- /dev/null +++ b/www/iridium/patches/patch-ui_webui_resources_tools_minify_js_py @@ -0,0 +1,12 @@ +Index: ui/webui/resources/tools/minify_js.py +--- ui/webui/resources/tools/minify_js.py.orig ++++ ui/webui/resources/tools/minify_js.py +@@ -32,7 +32,7 @@ def main(argv): + # Spawn a NodeJS script to use the programmatic Terser API, since the CLI API + # does not allow compressing multiple files at once. This is done to avoid + # launching NodeJS once for every input file. +- node.RunNode([ ++ node.RunNode(['--jitless', + os.path.join(_HERE_PATH, 'minify_js.js'), '--in_folder', in_path, + '--out_folder', out_path + ] + args.in_files) diff --git a/www/ungoogled-chromium/patches/patch-ui_webui_resources_tools_minify_js_py b/www/ungoogled-chromium/patches/patch-ui_webui_resources_tools_minify_js_py new file mode 100644 index 00000000000..8968aceca0c --- /dev/null +++ b/www/ungoogled-chromium/patches/patch-ui_webui_resources_tools_minify_js_py @@ -0,0 +1,12 @@ +Index: ui/webui/resources/tools/minify_js.py +--- ui/webui/resources/tools/minify_js.py.orig ++++ ui/webui/resources/tools/minify_js.py +@@ -32,7 +32,7 @@ def main(argv): + # Spawn a NodeJS script to use the programmatic Terser API, since the CLI API + # does not allow compressing multiple files at once. This is done to avoid + # launching NodeJS once for every input file. +- node.RunNode([ ++ node.RunNode(['--jitless', + os.path.join(_HERE_PATH, 'minify_js.js'), '--in_folder', in_path, + '--out_folder', out_path + ] + args.in_files)