Selaa lähdekoodia

Remove use strict from js files (#3352)

version-14
Faris Ansari 8 vuotta sitten
committed by Rushabh Mehta
vanhempi
commit
d2b650838e
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      frappe/build.js

+ 2
- 0
frappe/build.js Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna