NetCZ/vue-separate-files-webpack-loader

View on GitHub

Showing 1 of 1 total issue

Function apply has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

VueSeparateFilesWebpackLoaderPlugin.prototype.apply = function (compiler) {
  var plugins = _.filter(compiler.options.plugins, function (plugin) {
    var name = plugin.constructor.name;
    return name === 'VueLoaderPlugin' || name === 'VueSeparateFilesWebpackLoaderPlugin';
  });
Severity: Minor
Found in plugin.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language