How Can I disable minify for flutter web release build

1.6k Views Asked by At

How can I disable minification for a Web release build? It is messing up my JSON conversion and I don't want to rewrite all HTTP Layer.

My application works fine in debug & profile build for the web and works fine with release build for Android & iOS. Only web release build is having issues.

There is an option for dart2js compiler which can specify the level of minifying but I can't find any documentation on how to pass that option from flutter build.

Here you can see the option. https://dart.dev/tools/dart2js#basic-options

0

There are 0 best solutions below