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,6 +1,5 @@
|
||||
import * as helpers from "babel-helpers";
|
||||
import generator from "babel-generator";
|
||||
import * as messages from "babel-messages";
|
||||
import template from "babel-template";
|
||||
import * as t from "babel-types";
|
||||
|
||||
@@ -178,7 +177,7 @@ export default function(
|
||||
if (build) {
|
||||
tree = build(namespace, builder);
|
||||
} else {
|
||||
throw new Error(messages.get("unsupportedOutputType", outputType));
|
||||
throw new Error(`Unsupported output type ${outputType}`);
|
||||
}
|
||||
|
||||
return generator(tree).code;
|
||||
|
||||
Reference in New Issue
Block a user