Coder Social home page Coder Social logo

Comments (11)

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024 2

I've cooked up a special build for you, you can try by installing astro-compress#no-sharp like so:

npm install -D -E astro-community/astro-compress#no-sharp

This pulls from the https://github.com/astro-community/astro-compress/tree/no-sharp branch. 😊 Hope this helps!

from compress.

ooling avatar ooling commented on August 24, 2024 1

Noice! Thanks you so much! 👍
Screenshot_20221122-131243774

from compress.

sohaha avatar sohaha commented on August 24, 2024 1

@nikolaxhristov It doesn't feel necessary, because it's also a sharp issue, and the latest version of m1 macOS doesn't seem to be supported yet. 😀

from compress.

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024

I don't think Sharp has support for Android 😁 https://github.com/lovell/sharp-libvips

from compress.

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024

astro-compress uses sharp to compress images

from compress.

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024

You can try using it on codesanbox.io if you're on an Android phone, as it emulates the environment, instead of running it locally.

from compress.

ooling avatar ooling commented on August 24, 2024

astro-compress uses sharp to compress images

How to exclude it from installation process?
I'll appreciate it if you help, because I only have Android to learn web development

from compress.

ooling avatar ooling commented on August 24, 2024

You can try using it on codesanbox.io if you're on an Android phone, as it emulates the environment, instead of running it locally.

I want to publish to my GitHub Pages not doing experiment on codesandbox

from compress.

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024

It will still compress your other files while leaving the images alone.

from compress.

sohaha avatar sohaha commented on August 24, 2024

mac m1 seems to be doesn't support

from compress.

NikolaRHristov avatar NikolaRHristov commented on August 24, 2024

Hi, @sohaha could you open a new issue, detailing the exact report and what doesn't work?

from compress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.