PIbd-21_Danilov_V.V._Intern.../Lab4/node_modules/eslint-plugin-react-hooks/index.js

10 lines
371 B
JavaScript
Raw Permalink Normal View History

2024-01-09 05:30:48 +04:00
'use strict';
// TODO: this doesn't make sense for an ESLint rule.
// We need to fix our build process to not create bundles for "raw" packages like this.
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/eslint-plugin-react-hooks.production.min.js');
} else {
module.exports = require('./cjs/eslint-plugin-react-hooks.development.js');
}