We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7f597 commit 7b1ae74Copy full SHA for 7b1ae74
packages/react-email/src/cli/utils/preview/hot-reloading/get-imported-modules.ts
@@ -1,6 +1,7 @@
1
import { parse } from '@babel/parser';
2
3
import traverseModule from '@babel/traverse';
4
+
5
// @ts-expect-error This is fine since the default export is wrapped in a default function. The problem is that babel/traverse is not ESM.
6
const traverse = traverseModule.default;
7
0 commit comments