Minification of JavaScript and CSS file in Windows 8 WinJS App RRS feed

  • Question

  • Hi,

    I am Ajax minifier tools for minification of JS and CSS and used in Windows 8 WinJS app.

    After refer minified file app is working fine, but when i run the Windows App Certification Kit then the certification is failed.

    So it is possible to used minified version of file in WinJS app for windows 8?

    Please find the image for detailed error message.



    Tuesday, April 1, 2014 3:07 PM


  • Minification itself is fine, but the resulting app and files still needs to be valid. The first error you show says you're not ending up with UTF-8 files with a BOM, but you should be able to add that (open the file in the editor and resave with the BOM) and be fine. The second error appears to be a JavaScript syntax error, so you'll need to track that down and fix it.

    Note that minification won't provide any performance benefit as it can in a web app. The bytecode generation will trump the benefits of having smaller plain-text code.


    Tuesday, April 1, 2014 5:54 PM