From c9b48df5ccfd1ec241b274c73c88b2940ed04b4b Mon Sep 17 00:00:00 2001 From: Emmanuel Goh Date: Wed, 4 Oct 2017 20:43:19 +0800 Subject: [PATCH] Fix cryptic plugin message Fixes https://github.com/nuxt/nuxt.js/issues/1744 --- lib/builder/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/builder.js b/lib/builder/builder.js index 655b3a85f9..ac0ac8d2a6 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -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}` } }) }