fand/MDMT

Is ssr possible?

EarthlingDavey opened this issue ยท 2 comments

Feature request.

Please can we have a mode operation where a the default SSR feature of next.js is retained and static site is not generated?

Your project looks very interesting btw. Awesome work ๐Ÿ‘

fand commented

Thanks @DaveyBrown !
MDMT is just a wrapper of Next.js so it's super easy - just run npm run build && npm start then Next.js starts in production mode with SSR ๐Ÿ˜ธ

That's very cool. I modified build to

"build": "NODE_ENV=production run-s clean build:manifest build:build",

It looks to be working.

Is that correct? Please advise ๐Ÿ˜„