static-dev / spike-core

:warning: UNMAINTAINED :warning: A modern static build tool, powered by webpack
https://spike.js.org
Other
58 stars 9 forks source link

[next] get image optim loader working #217

Open jescalan opened 7 years ago

jescalan commented 7 years ago

At the moment, webpack's image optimization plugin isn't working in spike@next. This is because the source isn't exposed in the same way when spike tries to extract and write it to a file. Just needs a bit more investigation!

alexpate commented 7 years ago

Is there any update on how to get this working?

jescalan commented 7 years ago

Not yet! I'd be happy to work with you to try to fix it if you want. A very easy fix is just running your image folder through imageoptim one time though.

alexpate commented 7 years ago

Sure thing! Is this something that has worked with previous versions of Spike?

jescalan commented 7 years ago

Yep, it worked with webpack1

mazli84 commented 6 years ago

Any news on this issue? I still cannot get it working...

jescalan commented 6 years ago

Nope, it just hasn't been a priority for me. You can just run your images through imageoptim once and it's solved. You are very welcome to look into contributing a fix though if you want!