Skip to content

Commit 26f5908

Browse files
authored
Merge branch 'main' into feat-eslint-type-checked-configuration
2 parents f47adb0 + 97c8d84 commit 26f5908

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/eslint-plugin-query/tsup.config.ts

+7
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,11 @@ export default defineConfig({
1818
sourcemap: true,
1919
clean: true,
2020
external: ['typescript'],
21+
footer: ({ format }) => {
22+
if (format === 'cjs') {
23+
return { js: `module.exports = module.exports.default` }
24+
}
25+
26+
return
27+
},
2128
})

0 commit comments

Comments
 (0)