Webpack “OTS parsing error” loading fonts

前端 未结 13 1237
[愿得一人]
[愿得一人] 2020-11-28 20:51

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:



        
13条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 21:33

    If you're using Angular you need to check to make sure your

     
    

    tag comes before your style sheet bundle. I switched my code from this:

     
     
    

    to this:

     
     
    

    and the problem was fixed. Thanks to this post for opening my eyes.

提交回复
热议问题