How to change nuxt build context when building programatically
[issue link]I have following folder structure.
./ -|
'- packages
|_ client (nuxt app)
| |_ .nuxt
|_ server (express api)
|_ dist
server is loading nuxt.config.js from client and building nuxt app using javascript api.
at present nuxt is looking for dependencies in __dirname
This will fail when run the app from root folder and server folder
how to change this behaviour?