Skip to content

Commit 146b019

Browse files
committed
Ensure that a default export exists for the esm-exception module
1 parent c9c443c commit 146b019

File tree

1 file changed

+3
-1
lines changed
  • tests/module-types/src/cjs-subdir/esm-exception

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export const cjs: boolean = true;
22

3-
export const requireType = typeof require;
3+
const requireType = typeof require;
4+
5+
export default { requireType };

0 commit comments

Comments
 (0)