Skip to content

Commit e04a932

Browse files
committed
Force esmodules
1 parent 725b255 commit e04a932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/utils/resolve-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { PackageJSON } from '@codesandbox/common/lib/types';
22

33
export function packageFilter(p: PackageJSON) {
4-
if (!p.main && p.module) {
4+
if (p.module) {
55
// eslint-disable-next-line
66
p.main = p.module;
77
}

0 commit comments

Comments
 (0)