bryon
SolidStart - How do I build and start server in different directory?
After running
npm run build
, a dist folder w/ content is created. If I move the dist folder into another directory, I have to copy the package.json
file and npm i --omit=dev
in the new directory for it to run without errors.
My confusion is why I'm having to manually copy the package.json
file?
Is this the correct way to do it, or am I misunderstanding?
Thanks in advance,
Bryon1 replies