[BABEL] Note: The code generator has deoptimised the styling

I’m getting this verbose warning during build, I guess is related to a plugin but I can’t seem to find nise.js anywhere in meta, github or google. Does anyone have any idea to which plugin is nise.js related?

[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/app/assets/javascripts/node_modules/nise/nise.js as it exceeds the max of 500KB.

The plug-in is called Babel

It’s old and needs to be disabled

Actually, I believe it’s related to https://babeljs.io/, the Javascript compiler/transpiler used in Discourse:

See an explanation of this warning (not error), here: babeljs - BABEL Note: The code generator has deoptimised the styling of "app.js" as it exceeds the max of "100KB in Meteor - Stack Overflow

7 Likes