Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
entry: buildPackages.reduce( ( memo, slug ) => {
const basename = path.basename( slug );
const name = camelCaseDash( basename );
memo[name] = path.resolve( packageDir, `js/${slug}.js` );
return memo;
}, {} ),
output: {