Reputation: 559
I'm having a hard time finding out what options are available for different file types with Mads Kristensen's Web Compiler extension. Am I missing a list somewhere? We're having an issue with this error coming up:
The code generator has deoptimised the styling of "index.js" as it exceeds the max of "100KB".
when we try to minify a larger JavaScript file. It seems to be due to an issue with Babel, which I'm assuming the Web Compiler is using, but I was hoping for a comprehensive list of options for issues in the future as well.
Upvotes: 4
Views: 1418
Reputation: 81
A workaround for visual studio is change compilerconfig.json and add "minify": { "enabled": false } For example:
{
"outputFile": "Scripts/index.es5.js",
"inputFile": "Scripts/index.js",
"minify": {
"enabled": false
}
}
Upvotes: 2