universal.js 561 B

123456789
  1. // Jest (and probably some other runtimes with custom implementations of
  2. // `require`) doesn't support `exports` in `package.json`, so this file is here
  3. // to help them load this module. Note that it is also `.js` and not `.cjs` for
  4. // the same reason - `cjs` files requires to be loaded with an extension, but
  5. // since Jest doesn't respect `module` outside of ESM mode it still works in
  6. // this case (and the `require` in _this_ file does specify the extension).
  7. // eslint-disable-next-line no-undef
  8. module.exports = require("./dist/eslintrc-universal.cjs");