mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 14:41:25 +00:00
ESLint Fixes
This commit is contained in:
parent
e2e849fbd2
commit
6504b0666a
@ -136,6 +136,7 @@ export default function () {
|
||||
debug(`HTML Files generated in ${duration}s`)
|
||||
|
||||
if (errors.length) {
|
||||
/* eslint-disable no-console */
|
||||
console.error('==== Error report ==== \n' + errors.map(({type, route, error}) => {
|
||||
if (type === 'unhandled') {
|
||||
return `Route: '${route}'\n${error.stack}`
|
||||
|
@ -3,14 +3,12 @@
|
||||
import { each, defaults } from 'lodash'
|
||||
import webpack from 'webpack'
|
||||
import VueSSRClientPlugin from 'vue-server-renderer/client-plugin'
|
||||
import ExtractTextPlugin from 'extract-text-webpack-plugin'
|
||||
import HTMLPlugin from 'html-webpack-plugin'
|
||||
import FriendlyErrorsWebpackPlugin from 'friendly-errors-webpack-plugin'
|
||||
import ProgressBarPlugin from 'progress-bar-webpack-plugin'
|
||||
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
|
||||
import OfflinePlugin from 'offline-plugin'
|
||||
import base from './base.config.js'
|
||||
import { extractStyles } from './helpers'
|
||||
import { resolve } from 'path'
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user