Showing 1 of 4 total issues
Function config
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function config(env: { NODE_ENV?: string } = {}): Configuration {
const production = env.NODE_ENV !== "development"
return {
mode: production ? "production" : "development",
entry: "./src/index.ts",