However, when I change the config to the following, the output in the destination (the fonts) have a wrong size and they can't be loaded in any browser with the message:
Please note: this works fine for my svg images. I suspect it has something to do with the raw flag of a loader? String and Buffer missmatching/conversion problems? Hope someone can explain to me what's actually causing this behaviour. Thanks in advance.
When I setup my
webpack.config.js
like the following, everything gets copied with the same size & uncorrupted output correctly:However, when I change the config to the following, the output in the destination (the fonts) have a wrong size and they can't be loaded in any browser with the message:
Failed to decode downloaded font:
Please note: this works fine for my svg images. I suspect it has something to do with the
raw
flag of a loader? String and Buffer missmatching/conversion problems? Hope someone can explain to me what's actually causing this behaviour. Thanks in advance.Related: #233