This commit is contained in:
Pooya Parsa 2017-06-16 02:58:08 +04:30
parent 5722a92c4c
commit 644d19f7ec
6 changed files with 9 additions and 14 deletions

View File

@ -8,8 +8,7 @@ import serialize from 'serialize-javascript'
import { join, resolve, basename, dirname } from 'path'
import Tapable from 'tappable'
import MFS from 'memory-fs'
import { sequence, parallel } from "./utils"
import { r, wp, createRoutes } from './utils'
import { r, wp, createRoutes, parallel } from './utils'
import clientWebpackConfig from './webpack/client.config.js'
import serverWebpackConfig from './webpack/server.config.js'

View File

@ -10,7 +10,6 @@ import _ from 'lodash'
import { resolve, join } from 'path'
import fs from 'fs-extra'
import { createBundleRenderer } from 'vue-server-renderer'
import chalk from 'chalk'
import { getContext, setAnsiColors, encodeHtml } from './utils'
const debug = require('debug')('nuxt:render')

View File

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

View File

@ -1,11 +1,10 @@
import { each, defaults, flatten } from 'lodash'
import { each } from 'lodash'
import webpack from 'webpack'
import VueSSRClientPlugin from 'vue-server-renderer/client-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 { resolve } from 'path'
import base from './base.config.js'
@ -86,7 +85,6 @@ export default function webpackClientConfig () {
})
)
// Define Env
config.plugins.push(
new webpack.DefinePlugin(Object.assign(env, {