question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It exceeds the max of "100KB"

See original GitHub issue
➜ grunt browserify
Running "browserify" (browserify) task

Note: The code generator has deoptimised the styling of "index.js" as it exceeds the max of "100KB".

The babelify used as transformation for grunt-browserify

options: {
    transform: ['babelify']
}

How to skip this warning?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:20 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
sebmckcommented, Mar 11, 2015
options: {
    transform: [['babelify', { compact: false }]]
}

Probably not a good idea to be passing such large files through Babel in the first place.

3reactions
IsuruDilhancommented, Oct 8, 2016

In react/redux/webpack/babel build fixed this error by removing script tag type text/babel

<script type="text/babel" src="/js/bundle.js"></script>

Into <script src="/js/bundle.js"></script>

Read more comments on GitHub >

github_iconTop Results From Across the Web

BABEL Note: The code generator has deoptimised the styling ...
BABEL Note: The code generator has deoptimised the styling of "app.js" as it exceeds the max of "100KB in Meteor · Ask Question....
Read more >
'You specified a file that exceeds the maximum size (100Kb ...
Go into the Web Preferences > Project Defaults > Prompts > Maximum size of the files to upload and change the value from...
Read more >
error – The code generator has deoptimised the styling ...
... I began to see the following error The code generator has deoptimised the styling of FILENAME as it exceeds the max of...
Read more >
What does “The code generator has deoptimised the styling of ...
build modulesNote: The code generator has deoptimised the styling of "D:/path/to/project/node_modules/ramda/dist/ramda.js" as it exceeds the max of "100KB".
Read more >
[BABEL] Note: The code generator has deoptimised the styling
... has deoptimised the styling of /var/www/discourse/app/assets/javascripts/node_modules/nise/nise.js as it exceeds the max of 500KB.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found