Fix the bug that webpack does not output compiled JS during production. TODO: Not sure why this works.