Finally got the optimizer working, had to take css out of require