webpack/index.js
Function groupEntries
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function groupEntries(config, pckg) {
return Promise.all(map(libDirs(pckg), libDir => {
const pattern = path.resolve(
config.baseDir,
libDir,
Function createVariant
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createVariant(variant) {
return function webpack(config, pckg) {
const runnerPath = require.resolve(path.resolve(__dirname, 'forkableRunner'));
const workers = workerFarm(runnerPath);
Function webpack
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function webpack(config, pckg) {
const runnerPath = require.resolve(path.resolve(__dirname, 'forkableRunner'));
const workers = workerFarm(runnerPath);
return groupEntries(config, pckg)
Function normalizeEntry
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function normalizeEntry(config, pckg, libDir, entry, fileExtensions) {