Skip to content

Remove/Change the limit of the babel-generator deopt message #4957

@hzoo

Description

@hzoo

[BABEL] Note: The code generator has deoptimised the styling of "app.js" as it exceeds the max of "100KB".

Code is at

if (format.compact === "auto") {
format.compact = code.length > 100000; // 100KB
if (format.compact) {
console.error("[BABEL] " + messages.get("codeGeneratorDeopt", opts.filename, "100KB"));
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR: Internal 🏠A type of pull request used for our changelog categorieshelp wantedoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions