This project has moved. For the latest updates, please go here.

MicrosoftAjaxJsMinifier strictMode

Jan 2, 2015 at 1:33 PM
use of strict mode (globally or in source) cause append "use strict" before every minified content of every file. I dont know if its a bug or a feature, but its unwanted behavior for me. I want to put "use strict" only at the top of a bundle.
Coordinator
Jan 2, 2015 at 3:16 PM
Hello, Fazueu!

Use the possibility to combine JS-assets before minification. To do this need in combineFilesBeforeMinification attribute of configuration/bundleTransformer/core/js configuration element set value equals to true:
<configuration>
  …
  <bundleTransformer …>
    <core>
      …
      <js … combineFilesBeforeMinification="true">
        …
      </js>
      …
    </core>
    …
  </bundleTransformer>
  …
</configuration>
Jan 8, 2015 at 11:01 AM
@Taritsyn, thank you very much :) it helps