From d2b650838ecc74aa809189bc80f20979d7d9170c Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 19 May 2017 19:13:21 +0530 Subject: [PATCH] Remove use strict from js files (#3352) --- frappe/build.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/build.js b/frappe/build.js index 4c271bc1e2..8c3dccc182 100644 --- a/frappe/build.js +++ b/frappe/build.js @@ -103,6 +103,8 @@ function pack(output_path, inputs, minify) { output_txt += `\n/*\n *\t${file}\n */\n` } output_txt += file_content; + + output_txt = output_txt.replace(/['"]use strict['"];/, ''); } const target = p(assets_path, output_path);