1
私のアプリケーションでEcmascript-6機能を使用しようとすると、サイズの縮小が失敗します。ASP.NET MVC 5バンドルおよびミニ化Javascript ES6
私は矢印の機能を使用しようとした場合:
$.get('/clients/all').done(response => {
// Do something with the response
})
私は次のエラーを取得する:他のES6の機能を持つように
/* Minification failed. Returning unminified contents.
(8,45-46): run-time error JS1195: Expected expression: >
(36,6-7): run-time error JS1195: Expected expression:)
(37,1-2): run-time error JS1002: Syntax error: }
*/
とします。
あなたはES6のItemTransformを知っていますか?