Sfoglia il codice sorgente

Remove use strict from js files (#3352)

version-14
Faris Ansari 8 anni fa
committed by Rushabh Mehta
parent
commit
d2b650838e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      frappe/build.js

+ 2
- 0
frappe/build.js Vedi File

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


Caricamento…
Annulla
Salva