olivernn / lunr.js

A bit like Solr, but much smaller and not as bright
http://lunrjs.com
MIT License
8.91k stars 546 forks source link

Have an online minified version of lunr.js #313

Closed sylhare closed 6 years ago

sylhare commented 6 years ago

Allo,

I don't think I have seen a minified version of lunr.js on the website. But let's assume we make one then would there be an official link toward that lunr.min.js so we could use it without downloading the file?

For example with Jquery and other famous one, we usually have link that we can use like:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

Here we could probably use the raw file of lunr.js uploaded on github, but I don't know if that's a good idea.

Here we could have

<script src="https://xxxxxxxxxxxxxxxxx/xxxx/lunr/2.14/lunr.min.js"></script>

What do you think?

sylhare commented 6 years ago

Oh I just see #283 saying there's a minified version at 2.10. But I don't know where it was said on the documentation. Somebody would have the link? Thanks

sylhare commented 6 years ago

Allo I have found it, putting the link for anyone to find:

https://cdnjs.com/libraries/lunr.js/