You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have separate webpack configs for development and production. Production works fine, but development ignores the local file and fetches the one from unpg too. Here's my dev config:
Trying to make it work with localStyle produces an error in the console: Refused to apply style from 'http://localhost:3000/node_modules/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I guess it's webpack server's "not found" page that it gets and tries to parse.
Could someone please explain me what am I doing wrong?
The text was updated successfully, but these errors were encountered:
I have separate webpack configs for development and production. Production works fine, but development ignores the local file and fetches the one from unpg too. Here's my dev config:
Trying to make it work with
localStyle
produces an error in the console:Refused to apply style from 'http://localhost:3000/node_modules/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I guess it's webpack server's "not found" page that it gets and tries to parse.
Could someone please explain me what am I doing wrong?
The text was updated successfully, but these errors were encountered: