config/webpack/base.js
Function sharedWebpackConfig
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const sharedWebpackConfig = (mode) => {
const isProduction = mode === "production";
const hash = isProduction ? "-[contenthash]" : "";
const publicPath = isProduction
? `/${publicOutputPath}/`