ReactJS + Custom fonts + webfrontloader => MIME type error
sjb3 opened this issue · 2 comments
sjb3 commented
Hi,
I have a quick question using custom fonts with webfontloader.
After setting @font-face in src/index.css and installed Webfont and loaded in src/index.js
It worked fine in local machine. however, it went through the build pipeline and on my dev server,
it throws error
'''
MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
'''
Is there way that i bypass the build process errors?
Please help!
starkiller17 commented
Hi,
Did you found something to avoid MIME type error?
bodyan359 commented
up