From 1a435ad32bdbf6cb4408a338a1adcee9b6cc06b3 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 25 Jun 2019 10:45:38 +0100 Subject: [PATCH] chore(example): use !== --- examples/custom-server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/custom-server/server.js b/examples/custom-server/server.js index f9a353adee..ab0c16eae1 100644 --- a/examples/custom-server/server.js +++ b/examples/custom-server/server.js @@ -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)