Next created automatically a .swc folder
Unanswered
Birman posted this in #help-forum
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
@Birman 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.
its a plugin for swc (Speedy Web Compiler) which is used by nextjs to compile your app
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?