Fixed a bug that prevented the component from compiling when there are no HTML in the component's directory