Next.js Discord

Discord Forum

Next created automatically a .swc folder

Unanswered
Birman posted this in #help-forum
Open in Discord
BirmanOP
Hello all, I'm using nextjs 15.2 for my project and next created automatically an .swc/plugins/v7_macos_aarch64_8.0.0 folder. I think it was after I dockerized the app. Can someone explain what is this? If I delete it, then the hole app doesn't work. Thank you.

6 Replies

You should leave folders like .next or .swc alone, since they are generated automatically and contain the actual application
BirmanOP
Thank you for the answer. I was wondering, why next created the folder after I dockerized the app and not befor. Should I put the .swc folder in .gitignore file?