Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BABEL] Note: The code generator has deoptimised the styling of "ember-data/-private.js" as it exceeds the max of "100KB". #5028

Closed
tsteuwer opened this issue Jun 22, 2017 · 4 comments

Comments

@tsteuwer
Copy link

Noticed this happening after removing our node_modules and reinstalling everything fresh:

[BABEL] Note: The code generator has deoptimised the styling of "ember-data/-private.js" as it exceeds the max of "100KB".

Happens on every ember s.

@stefanpenner
Copy link
Member

@tsteuwer your most likely on an older version of ember-cli? Please share versions + reproduction

@stefanpenner
Copy link
Member

#5031 is a port of a fix that should make older versions of CLI not have ^. But without reproduction I am not 100% sure

@driesdl
Copy link

driesdl commented Jun 23, 2017

In ember-cli-build.js add the following lines under "var app = "

var app = new EmberApp(defaults, {
            // Add these babel lines
            babel: {
                compact: false
            }
});

@xomaczar
Copy link
Contributor

Fixed in 2.16.1

@bmac bmac closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants