Convert to sass format.
Add better undefined check in component loader.