romanlex/app-manifest-webpack-plugin

View on GitHub
lib/compiler.js

Summary

Maintainability
A
1 hr
Test Coverage

Function compileTemplate has 51 lines of code (exceeds 50 allowed). Consider refactoring.
Open

module.exports.compileTemplate = function compileTemplate(options, context, compilation) {
  const compilerPath = getCompilerPath(options.statsFilename, compilation.outputOptions.path)

  // The entry file is just an empty helper as the dynamic template
  // require is added in "loader.js"
Severity: Major
Found in lib/compiler.js - About 1 hr to fix

    Parsing error: Unexpected token )
    Open

      )
    Severity: Minor
    Found in lib/compiler.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status