From 0a41abdff7c8c32562ae567b13d707ebe1622f0a Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 16 Jun 2021 20:30:19 +0300 Subject: [PATCH] skip development dependencies on build js scripts --- scripts/build_js.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build_js.py b/scripts/build_js.py index a88edd9..474d1b3 100644 --- a/scripts/build_js.py +++ b/scripts/build_js.py @@ -8,6 +8,8 @@ def make(): if ("1" == base.get_env("OO_NO_BUILD_JS")): return + base.set_env('NODE_ENV', 'production') + base_dir = base.get_script_dir() + "/.." out_dir = base_dir + "/out/js/"; branding = config.option("branding-name")