Giter Site home page Giter Site logo

Minified version? about he HOT 10 CLOSED

timschwab avatar timschwab commented on August 12, 2024
Minified version?

from he.

Comments (10)

MartinKolarik avatar MartinKolarik commented on August 12, 2024 4

We improved the detection of minified files and the above link serves a minified file now.

from he.

MartinKolarik avatar MartinKolarik commented on August 12, 2024 3

The file has some very long lines so we currently detect it as minified. I'll check if this could be improved.

from he.

mathiasbynens avatar mathiasbynens commented on August 12, 2024 2

That answers it! Use jsDelivr.

https://cdn.jsdelivr.net/npm/he
https://cdn.jsdelivr.net/npm/[email protected]/he.min.js

from he.

mathiasbynens avatar mathiasbynens commented on August 12, 2024

CDNJS hosts a copy, although they don’t serve it as UTF-8: https://cdnjs.com/libraries/he

cdnjs/cdnjs#12756

from he.

mathiasbynens avatar mathiasbynens commented on August 12, 2024

Generally, if you need this in the browser, I’d expect you to add he.js to your existing build+minify process.

from he.

styfle avatar styfle commented on August 12, 2024

https://cdn.jsdelivr.net/npm/[email protected]/he.js

https://cdn.jsdelivr.net/npm/[email protected]/he.min.js

from he.

mathiasbynens avatar mathiasbynens commented on August 12, 2024

@styfle Interestingly, https://cdn.jsdelivr.net/npm/[email protected]/he.min.js says:

Skipped minification because the original files appears to be already minified.

from he.

styfle avatar styfle commented on August 12, 2024

That is interesting 🤔

I’m on my phone so I can’t tell if it’s actually minified already or a bug in jsdelivr.

from he.

mathiasbynens avatar mathiasbynens commented on August 12, 2024

It’s definitely not minified already.

from he.

jimaek avatar jimaek commented on August 12, 2024

@MartinKolarik Can we fix the min detection here?

from he.

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.