Hey there. I was currently wondering how I could set my main file as a .js file, as I am creating an application which uses a .js file as the main one.
If you mean .js file instead of index.html, no, you can’t. Netlify needs an index.html to serve in each folder or it will throw a Not Found error. You can probably try using redirect, but, I’m not very sure if that will work.