gocodebox/lifterlms

View on GitHub
packages/scripts/config/blocks-webpack.config.js

Summary

Maintainability
A
1 hr
Test Coverage

Function entry has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

config.entry = () => {
    try {
        const entries = Object.fromEntries(
            Object.entries( blockEntries ).map( ( [ key, val ] ) => {
                return [ key.replace( 'blocks/', '' ), val ];
Severity: Minor
Found in packages/scripts/config/blocks-webpack.config.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status