Browse Source

update outdated message in ssr plugin

dev
Evan You 8 years ago
parent
commit
a677a98a3c
  1. 7
      src/server/webpack-plugin/util.js

7
src/server/webpack-plugin/util.js

@ -1,4 +1,4 @@
const { red, yellow, gray } = require('chalk')
const { red, yellow } = require('chalk')
const prefix = `[vue-server-renderer-webpack-plugin]`
const warn = exports.warn = msg => console.error(red(`${prefix} ${msg}\n`))
@ -15,9 +15,8 @@ export const validate = compiler => {
if (!compiler.options.externals) {
tip(
'It is recommended to externalize dependencies for better ssr performance.\n' +
`See ${gray('https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer#externals')} ` +
'for more details.'
'It is recommended to externalize dependencies in the server build for ' +
'better build performance.'
)
}
}

Loading…
Cancel
Save