mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
Fix cryptic plugin message
Fixes https://github.com/nuxt/nuxt.js/issues/1744
This commit is contained in:
parent
f654c9c94c
commit
c9b48df5cc
@ -63,7 +63,7 @@ export default class Builder extends Tapable {
|
||||
return this.options.plugins.map((p, i) => {
|
||||
if (typeof p === 'string') p = { src: p }
|
||||
p.src = this.nuxt.resolvePath(p.src)
|
||||
return { src: p.src, ssr: (p.ssr !== false), name: `plugin${i}` }
|
||||
return { src: p.src, ssr: (p.ssr !== false), name: `plugin${p.src}` }
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user