Skip to content

Commit 2cb04f4

Browse files
committed
fix(config): fix esmodule config loading
1 parent 7769b96 commit 2cb04f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/config/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ async function importConfig(path: string) {
154154
const module = await import(path) as SimpleReleaseConfig | { default: SimpleReleaseConfig }
155155
const config = 'default' in module ? module.default : module
156156

157-
return config
157+
return {
158+
...config
159+
}
158160
}
159161

160162
/**

0 commit comments

Comments
 (0)