Skip to content

Is node_modules necessary on production envs? #2920

Closed Answered by ildyria
fariouche asked this question in Q&A
Discussion options

You must be logged in to vote

You need to run:

npm ci # does the creation of the node_modules
npm run build # creates public/build/...

After the second command, the node_modules is useless, feel free to nuke it. 👍

If you are using the old frontend on V6 you are missing out a lot.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ildyria
Comment options

You must be logged in to vote
1 reply
@ildyria
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants