mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Removed await because of top-level code
This commit is contained in:
parent
45f1edd4cd
commit
be72f15c6b
@ -104,7 +104,7 @@ let config = require('./nuxt.config.js')
|
|||||||
config.dev = (process.env.NODE_ENV !== 'production')
|
config.dev = (process.env.NODE_ENV !== 'production')
|
||||||
|
|
||||||
let nuxt = new Nuxt(config)
|
let nuxt = new Nuxt(config)
|
||||||
await nuxt.ready()
|
nuxt.ready()
|
||||||
|
|
||||||
// Start build process (only in development)
|
// Start build process (only in development)
|
||||||
if (config.dev) {
|
if (config.dev) {
|
||||||
|
Loading…
Reference in New Issue
Block a user