Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function(config, env) {
const newConfig = webpackConfigStorybook(config, env);
newConfig.eslint = webpackConfigDev.eslint;
newConfig.module.preLoaders = (newConfig.module.preLoaders || []).concat(webpackConfigDev.module.preLoaders);
newConfig.module.loaders = (newConfig.module.loaders || []).concat(webpackConfigDev.module.loaders);
return newConfig;
};