Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 18, 2021
1 parent 7b46d50 commit ccb874b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion babel.config.js
Expand Up @@ -397,7 +397,8 @@ function pluginNodeImportInterop({ template }) {
const { source } = path.node;
if (
source.value.startsWith(".") ||
source.value.startsWith("@babel/")
source.value.startsWith("@babel/") ||
source.value === "charcodes"
) {
// For internal modules, it's either "all CJS" or "all ESM".
// We don't need to worry about interop.
Expand Down

0 comments on commit ccb874b

Please sign in to comment.