mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Modules: unshit plugins to be executed first
This commit is contained in:
parent
c4613ce34b
commit
c25aa4bc45
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user