packages/scripts/config/blocks-webpack.config.js
Function entry
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
config.entry = () => {
try {
const entries = Object.fromEntries(
Object.entries( blockEntries ).map( ( [ key, val ] ) => {
return [ key.replace( 'blocks/', '' ), val ];