My webpack config specifies that fonts should be loaded using url-loader
, and when I try to view the page using Chrome I get the following error:
If you're using Angular you need to check to make sure your
<base href="/">
tag comes before your style sheet bundle. I switched my code from this:
<script src="~/bundles/style.bundle.js"></script>
<base href="~/" />
to this:
<base href="~/" />
<script src="~/bundles/style.bundle.js"></script>
and the problem was fixed. Thanks to this post for opening my eyes.