main.min.js building correctly