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

**URL:** <https://meta.discourse.org/t/babel-note-the-code-generator-has-deoptimised-the-styling/217844>\
**Category:** Support\
**Created:** [February 11, 2022, 2:59am UTC](https://meta.discourse.org/t/babel-note-the-code-generator-has-deoptimised-the-styling/217844 "2022-02-11T02:59:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)\
**Post date:** [February 11, 2022, 2:59am UTC](https://meta.discourse.org/t/babel-note-the-code-generator-has-deoptimised-the-styling/217844/1 "2022-02-11T02:59:21Z")

</div>

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.`

---

<div class="post-metadata">

**Author:** ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)\
**Post date:** [February 11, 2022, 8:02am UTC](https://meta.discourse.org/t/babel-note-the-code-generator-has-deoptimised-the-styling/217844/2 "2022-02-11T08:02:38Z")

</div>

The plug-in is called Babel

It’s old and needs to be disabled

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [February 11, 2022, 9:24am UTC](https://meta.discourse.org/t/babel-note-the-code-generator-has-deoptimised-the-styling/217844/3 "2022-02-11T09:24:51Z")

</div>

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

> **[Build software better, together](https://github.com/search?q=repo%3Adiscourse%2Fdiscourse+babel)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

See an explanation of this warning (not error), here: [https://stackoverflow.com/questions/35192796/babel-note-the-code-generator-has-deoptimised-the-styling-of-app-js-as-it-exc](https://stackoverflow.com/questions/35192796/babel-note-the-code-generator-has-deoptimised-the-styling-of-app-js-as-it-exc)
