index.js 371 B

123456789
  1. 'use strict';
  2. // TODO: this doesn't make sense for an ESLint rule.
  3. // We need to fix our build process to not create bundles for "raw" packages like this.
  4. if (process.env.NODE_ENV === 'production') {
  5. module.exports = require('./cjs/eslint-plugin-react-hooks.production.min.js');
  6. } else {
  7. module.exports = require('./cjs/eslint-plugin-react-hooks.development.js');
  8. }