topcoder-react-lib
Version:
The implementation of TC lib for ReactJS projects
12 lines (9 loc) • 336 B
JavaScript
/**
* Webpack configuration is located inside /config/webpack folder. This file
* is only responsible to expose the actual configuration to Webpack.
*/
/* eslint-disable global-require */
/* eslint-disable import/no-dynamic-require */
module.exports = function buildConfig(env) {
return require(`./config/webpack/${env}.js`);
};