Error:
Module parse failed: <...> You may need an appropriate loader to handle this file type.
Check your webpack loader, either html loader or raw-loader, whichever one you’re using. There might be constraints stopping your html template from going through.
For example, the “test” part of the loader config should be a regExp that fits the name of the file.