WebGrease + ECMAScript6 + VIsual Studio 2019 => fails to minify the JS code

386 views Asked by At

Long time now i was using VS 2017/VS 2019 with WebGrease + ECMAScript5

enter image description here

Trying to switch to ECMAScript6 and i get minification error when deploying my App to Azure ( building release version )

When running locally ( debug version ) all is fine

WebGrease version:

<package id="WebGrease" version="1.6.0" targetFramework="net451" />

Any idea what is wrong?

Is it related to the libraries that i add in the "bundles" in the BundleConfig?

0

There are 0 answers