inlines babel-messages on the following files:
option-manager.js... /babel-core/src/config/ build-external-helpers.js... /packages/babel-core/src/tools/ index.js... /packages/babel-generator/src
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import SourceMap from "./source-map";
|
||||
import * as messages from "babel-messages";
|
||||
import Printer, { type Format } from "./printer";
|
||||
|
||||
/**
|
||||
@@ -74,7 +73,8 @@ function normalizeOptions(code, opts): Format {
|
||||
|
||||
if (format.compact) {
|
||||
console.error(
|
||||
"[BABEL] " + messages.get("codeGeneratorDeopt", opts.filename, "500KB"),
|
||||
`[BABEL] Note: The code generator has deoptimised the styling of ${opts.filename},
|
||||
it exceeds the max of 500KB.`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user