From c25aa4bc45f726c1c0270690f47f2d79c6232ccd Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Tue, 6 Jun 2017 14:51:30 +0200 Subject: [PATCH] Modules: unshit plugins to be executed first --- lib/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index 630db411e2..eed166f5fa 100755 --- a/lib/module.js +++ b/lib/module.js @@ -63,7 +63,7 @@ class Module { addPlugin (template) { const {dst} = this.addTemplate(template) // Add to nuxt plugins - this.options.plugins.push({ + this.options.plugins.unshift({ src: path.join(this.nuxt.buildDir, dst), ssr: template.ssr })