Load jsx-runtime after existing imports (#12546)
Co-authored-by: Brian Ng <bng412@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
@@ -638,6 +638,7 @@ You can set \`throwIfNamespace: false\` to bypass this warning.`,
|
||||
|
||||
reference = addNamed(path, importName, actualSource, {
|
||||
importedInterop: "uncompiled",
|
||||
importPosition: "after",
|
||||
});
|
||||
set(pass, `imports/${importName}`, reference);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user