Next.js: Is it safe to ignore .next?

Created on 24 Jan 2017  路  3Comments  路  Source: vercel/next.js

Looks like the dist and bundle caching directory. Is it ok to ignore it on the .gitignore?

Most helpful comment

Yes, it should only need to be created when building and running a build step in production and you'd not normally want to commit it to your git repo.

All 3 comments

Yes

Yes, it should only need to be created when building and running a build step in production and you'd not normally want to commit it to your git repo.

Perfect, many thanks!

Was this page helpful?
0 / 5 - 0 ratings