Nuxt.js: [edge] missing loadNuxtConfig export

Created on 24 Oct 2018  路  5Comments  路  Source: nuxt/nuxt.js

Version

v2.2.0

Reproduction link

https://github.com/nuxt/nuxt.js

Steps to reproduce

Import loadNuxtConfig via const { loadNuxtConfig } = require("nuxt-edge/bin/common/utils") in a custom startup script

What is expected ?

const { loadNuxtConfig } = require("@nuxt/cli-edge") to return a function

What is actually happening?

TypeError: loadNuxtConfig is not a function

Additional comments?

We're using loadNuxtConfig to setup and boot our express app with nuxt.render middleware in dev/production mode, in order to register our own shutdown handlers and process.on(...) handlers for the app

This bug report is available on Nuxt community (#c8021)
bug-report

All 5 comments

version is actually dev-branch/2.3.0 but it is not available on cmty yet :)

Will be landed with #4160 :)

thanks! :)

Now on Edge 馃憦

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bimohxh picture bimohxh  路  3Comments

o-alexandrov picture o-alexandrov  路  3Comments

msudgh picture msudgh  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments

vadimsg picture vadimsg  路  3Comments