Skip to content

Commit ae504b3

Browse files
committed
Note
1 parent f197c7b commit ae504b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.cjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// `build.js` will bundle everything into CJS.
2-
// Would be nice to have it use `index.js` directly, but then `esbuild` doesn't
3-
// seem capable of structuring the CJS export the way ESLint expects.
2+
// Would be nice to have it use `index.js` directly, but then `esbuild`
3+
// seems unable to structure the CJS export the way ESLint expects.
4+
// Seems we have to unwrap the default export ourselves for that.
45
module.exports = require("./index.js").default;

0 commit comments

Comments
 (0)