Optimize only main.js, skip all other files

The directory does not need to be optimized because only main.js is
loaded by the end user. This saves compilation time for JS/CSS.