System.Web.Optimization minifying arrow function issue

1.1k views Asked by At

I have js files which I am using arrow function like the following:

$(document).ready(() => {});

And I am using System.Web.Optimization for bundling and minification in an MVC web application.

When I run my application it shows me the following error:

(9,20-21): run-time error js1195: expected expression: )

So, my question is there any way to configure my app to solve this issue?

0

There are 0 answers