We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529df3b commit 5c3684bCopy full SHA for 5c3684b
src/server/webpack-plugin/server.js
@@ -1,4 +1,4 @@
1
-import { validate, isJS, onEmit } from './util'
+import { validate, isJS, onEmit, warn } from './util'
2
3
export default class VueSSRServerPlugin {
4
constructor (options = {}) {
@@ -23,7 +23,7 @@ export default class VueSSRServerPlugin {
23
const entryAssets = entryInfo.assets.filter(isJS)
24
25
if (entryAssets.length > 1) {
26
- throw new Error(
+ warn(
27
`Server-side bundle should have one single entry file. ` +
28
`Avoid using CommonsChunkPlugin in the server config.`
29
)
0 commit comments