Przeglądaj źródła

Remove use strict from js files (#3352)

version-14
Faris Ansari 8 lat temu
committed by Rushabh Mehta
rodzic
commit
d2b650838e
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      frappe/build.js

+ 2
- 0
frappe/build.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz