Replies: 1 comment
-
|
Try doing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi there, Im researching how to build a NextJs project with custom Express server. According to the docs and If I understand correctly I should be able to use
pkgrollto be able to build my custom express server written in typescript and serve it as just plain js.My project contains:
The
/srcis being build by nextnext buildwhere the/root-servershould be build by pkgroll. Could you point me how to configure pkgroll to/root-serverand output build to the./dist/root-server/...Ideally I would have a configuration where next app is build by
next build, server is build bypkgrooland dev env is run in watch mode bytsxBeta Was this translation helpful? Give feedback.
All reactions