HabitatMap/AirCasting

View on GitHub
config/webpack/base.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function sharedWebpackConfig has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const sharedWebpackConfig = (mode) => {
  const isProduction = mode === "production";
  const hash = isProduction ? "-[contenthash]" : "";
  const publicPath = isProduction
    ? `/${publicOutputPath}/`
Severity: Major
Found in config/webpack/base.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status