瀏覽代碼

Remove use strict from js files (#3352)

version-14
Faris Ansari 8 年之前
committed by Rushabh Mehta
父節點
當前提交
d2b650838e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      frappe/build.js

+ 2
- 0
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);


Loading…
取消
儲存