deprecated vue-ssr-webpack-plugin in flavor of vue-server-renderer

This commit is contained in:
Pooya Parsa 2017-04-27 13:24:18 +04:30
parent c6eef59823
commit 8db3a22db9
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
'use strict'
import webpack from 'webpack'
import VueSSRPlugin from 'vue-ssr-webpack-plugin'
import VueSSRServerPlugin from 'vue-server-renderer/server-plugin'
import base from './base.config.js'
import { each, uniq } from 'lodash'
import { existsSync, readFileSync } from 'fs'
@ -34,7 +34,7 @@ export default function () {
hints: false
},
plugins: (config.plugins || []).concat([
new VueSSRPlugin({
new VueSSRServerPlugin({
filename: 'server-bundle.json'
}),
new webpack.DefinePlugin(Object.assign(env, {

View File

@ -87,7 +87,6 @@
"vue-router": "^2.4.0",
"vue-server-renderer": "^2.3.0",
"vue-ssr-html-stream": "^2.2.0",
"vue-ssr-webpack-plugin": "^3.0.0",
"vue-template-compiler": "^2.3.0",
"vuex": "^2.3.0",
"webpack": "^2.4.1",