[edge] build context properties
[issue link]Version
Reproduction link
https://medium.com/nuxt/nuxt-2-is-coming-oh-yeah-212c1a9e1a67
Steps to reproduce
In the Nuxt 2.0 “upcoming” post on Medium it is written:
Removed context.isServer and context.isClient (Use context.client and context.server)
Removed options.dev in build.extend() (Use options.isDev)
But when I run
extend (config, ctx) {
console.log(ctx)
// ...
}
it returns:
{ isDev: false, isServer: true }
{ isDev: false, isClient: true }
So either statement one or statement two from the post is false
What is expected ?
.
What is actually happening?
.