github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/node_modules/eslint-plugin-react-hooks/index.js (about)

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