mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
chore(example): use !==
This commit is contained in:
parent
1b634779f8
commit
1a435ad32b
@ -8,7 +8,7 @@ const port = process.env.PORT || 3000
|
||||
|
||||
// Import and set Nuxt.js options
|
||||
const config = require('./nuxt.config.js')
|
||||
config.dev = !(process.env.NODE_ENV === 'production')
|
||||
config.dev = process.env.NODE_ENV !== 'production'
|
||||
|
||||
const nuxt = new Nuxt(config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user