We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f197c7b commit ae504b3Copy full SHA for ae504b3
src/index.cjs
@@ -1,4 +1,5 @@
1
// `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.
+// Would be nice to have it use `index.js` directly, but then `esbuild`
+// seems unable to structure the CJS export the way ESLint expects.
4
+// Seems we have to unwrap the default export ourselves for that.
5
module.exports = require("./index.js").default;
0 commit comments