reorder imports

This commit is contained in:
Pooya Parsa 2017-06-13 01:02:34 +04:30
parent a774a11720
commit a318144b9a
8 changed files with 9 additions and 9 deletions

View File

@ -8,11 +8,11 @@ import PostCompilePlugin from 'post-compile-webpack-plugin'
import serialize from 'serialize-javascript'
import { createBundleRenderer } from 'vue-server-renderer'
import { join, resolve, basename, dirname } from 'path'
import Tapable from 'tapable'
import { isUrl, r, wp } from './utils'
import clientWebpackConfig from './webpack/client.config.js'
import serverWebpackConfig from './webpack/server.config.js'
import defaults from './defaults'
import Tapable from 'tapable'
const debug = require('debug')('nuxt:build')
debug.color = 2 // Force green color

View File

@ -2,9 +2,9 @@ import fs from 'fs-extra'
import pify from 'pify'
import _ from 'lodash'
import { resolve, join, dirname, sep } from 'path'
import { isUrl, promisifyRoute, waitFor } from './utils'
import { minify } from 'html-minifier'
import Tapable from 'tapable'
import { isUrl, promisifyRoute, waitFor } from './utils'
const debug = require('debug')('nuxt:generate')
const copy = pify(fs.copy)

View File

@ -2,8 +2,8 @@ import path from 'path'
import fs from 'fs'
import { uniq } from 'lodash'
import hash from 'hash-sum'
import { chainFn, sequence } from './utils'
import Tapable from 'tapable'
import { chainFn, sequence } from './utils'
const debug = require('debug')('nuxt:module')

View File

@ -4,8 +4,8 @@ import fs from 'fs-extra'
import pify from 'pify'
import serveStatic from 'serve-static'
import { resolve, join } from 'path'
import * as Utils from './utils'
import Tapable from 'tapable'
import * as Utils from './utils'
import Builder from './builder'
import Renderer from './renderer'
import Generator from './generator'

View File

@ -2,8 +2,8 @@ import ansiHTML from 'ansi-html'
import serialize from 'serialize-javascript'
import generateETag from 'etag'
import fresh from 'fresh'
import { getContext, setAnsiColors, encodeHtml } from './utils'
import Tapable from 'tapable'
import { getContext, setAnsiColors, encodeHtml } from './utils'
const debug = require('debug')('nuxt:render')
debug.color = 4 // Force blue color

View File

@ -1,9 +1,9 @@
import vueLoaderConfig from './vue-loader.config'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
import { defaults } from 'lodash'
import { join } from 'path'
import { isUrl, urlJoin } from '../utils'
import vueLoaderConfig from './vue-loader.config'
import { styleLoader, extractStyles } from './helpers'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
/*
|--------------------------------------------------------------------------

View File

@ -6,8 +6,8 @@ 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 { resolve } from 'path'
import base from './base.config.js'
/*
|--------------------------------------------------------------------------

View File

@ -1,9 +1,9 @@
import webpack from 'webpack'
import VueSSRServerPlugin from 'vue-server-renderer/server-plugin'
import nodeExternals from 'webpack-node-externals'
import base from './base.config.js'
import { each } from 'lodash'
import { resolve } from 'path'
import base from './base.config.js'
/*
|--------------------------------------------------------------------------