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);