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
-
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
pkgroll
to be able to build my custom express server written in typescript and serve it as just plain js.My project contains:
The
/src
is being build by nextnext build
where the/root-server
should be build by pkgroll. Could you point me how to configure pkgroll to/root-server
and output build to the./dist/root-server/...
Ideally I would have a configuration where next app is build by
next build
, server is build bypkgrool
and dev env is run in watch mode bytsx
Beta Was this translation helpful? Give feedback.
All reactions