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 783660c commit 8ece1eeCopy full SHA for 8ece1ee
packages/react-email/src/utils/get-email-component.ts
@@ -65,7 +65,7 @@ export const getEmailComponent = async (
65
return staticNodeModulesForVM[module];
66
}
67
68
- // eslint-disable-next-line @typescript-eslint/no-var-requires
+ // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-useless-template-literals
69
return require(`${module}`) as unknown;
70
// this stupid string templating was necessary to not have
71
// webpack warnings like:
0 commit comments