LeDDGroup/scroll-utility

View on GitHub

Showing 1 of 4 total issues

Function config has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function config(env: { NODE_ENV?: string } = {}): Configuration {
  const production = env.NODE_ENV !== "development"
  return {
    mode: production ? "production" : "development",
    entry: "./src/index.ts",
Severity: Minor
Found in webpack.config.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language