Skip to content

Commit c64cf92

Browse files
committed
Ensure that a default export exists for the cjs-subdir module
1 parent 1093df8 commit c64cf92

File tree

1 file changed

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

1 file changed

+3
-1
lines changed
+3-1
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)