topcoder-react-lib
Version:
The implementation of TC lib for ReactJS projects
14 lines (12 loc) • 337 B
JavaScript
/**
* Entry point of the library.
*
* Depending on NODE_ENV variable, it loads development or production build
* of the library.
*/
/* eslint-disable global-require, import/no-unresolved */
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/prod');
} else {
module.exports = require('./dist/dev');
}