ensure all source compiled into main.js