Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

broken jpg #185

Closed
oliviertassinari opened this issue Jul 29, 2017 · 6 comments
Closed

broken jpg #185

oliviertassinari opened this issue Jul 29, 2017 · 6 comments

Comments

@oliviertassinari
Copy link

oliviertassinari commented Jul 29, 2017

I have noticed the following regression upgrading from 0.11.2 to 1.0.0:
The jpg output is no longer valid when the plugin is handling an image.
I have noticed that behavior on Material-UI, this can be used to reproduce the issue.

@whitetrefoil
Copy link

whitetrefoil commented Jul 31, 2017

Facing similar problem with PNG.

Open the original file and the copied file in HEX viewer, the head is changed and the others seem good.

Original:
89 50 4E 47 0D 0A 1A 0A ...
Copied:
EF BF BD 50 4E 47 0D 0A 1A 0A ...

@alexander-akait
Copy link
Member

alexander-akait commented Jul 31, 2017

@oliviertassinari @whitetrefoil khown issue, PR #183

@Dcatfly
Copy link

Dcatfly commented Dec 5, 2017

@evilebottnawi This bug still exists.

@alexander-akait
Copy link
Member

@Dcatfly Please provide you version webpack and file-loader, thanks!

@Dcatfly
Copy link

Dcatfly commented Dec 5, 2017

@evilebottnawi webpack: 2.7.0, file-loader: 1.1.5
And console output file size is correct, but with the real folder file size is not the same.

@Dcatfly
Copy link

Dcatfly commented Dec 5, 2017

@evilebottnawi Oh, I found the source of the problem. Because I use happypack, remove happypack is OK. I am so sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants