mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Attempt to fix #17331 * Split maybeParse * Apparently the async version of createConfigItem doesn't exist? * Add to mini-babel-core, and rename maybeParse to maybeParseSync and asyncMaybeParse to maybeParse * Use createConfigItemAsync * Hope this is sufficient for a test * Don't need an import * ope * review --------- Co-authored-by: Babel Bot <[email protected]>
12 lines
184 B
JavaScript
12 lines
184 B
JavaScript
export default async function () {
|
|
await Promise.resolve();
|
|
|
|
return {
|
|
visitor: {
|
|
StringLiteral(path) {
|
|
path.replaceWithSourceString("foo");
|
|
}
|
|
}
|
|
};
|
|
};
|