file-loader icon indicating copy to clipboard operation
file-loader copied to clipboard

OTS parsing error: invalid version tag | Failed to decode downloaded font: http://localhost:3000/static/7542ab376339625d813fe71d074ee925.woff

Open geroylaurence opened this issue 4 years ago • 3 comments
trafficstars

  • Operating System:
  • Node Version: v10.16.0
  • NPM Version: 6.9.0
  • webpack Version: 4.33.0
  • file-loader Version: 6.2.0

Actual Behavior

I got this warning on my project and my imported custom font is not applying as well.

I'm currently merging my application from webpack version 3 to webpack version 4, on my old version of webpack (ver3) my file-loader integration is fully working. I need help

image

Code

https://gist.github.com/geroylaurence/5f2a2ec7ad8f18333a40537cf598b444

How Do We Reproduce?

the font seems to be compiled in build folder, by the time I call the font in CSS fil then the warning pops. app.css html { font-size: 100%; font-family: 'proxima_nova_alt_rgregular'; }

geroylaurence avatar Jan 07 '21 01:01 geroylaurence

Can you try to remove WriteFilePlugin?

alexander-akait avatar Jan 08 '21 16:01 alexander-akait

Can you try to remove WriteFilePlugin?

didn't work, that "write-file-plugin" is a default code from "react-universal-component" boilerplate.

geroylaurence avatar Jan 10 '21 04:01 geroylaurence

Sorry, I can't fix problem, because bug not from file-loader

alexander-akait avatar Jan 11 '21 11:01 alexander-akait