rochal / jQuery-slimScroll

small jQuery plugin that transforms any div into a scrollable area with a nice scrollbar. Demo and more:
http://rocha.la/jQuery-slimScroll
2.23k stars 927 forks source link

main file for bower package #267

Open cfwen opened 8 years ago

cfwen commented 8 years ago

there are two main files in bower main entry:

"main": [
    "jquery.slimscroll.js",
    "jquery.slimscroll.min.js"
  ]

some auto build tools may include these two files automatically. use "jquery.slimscroll.min.js" is enough

victor-lkmx commented 7 years ago

Same here, I was about to create a similar ticket.

I would recommend to put the non-minified version since some people, for example myself, have a build script that take all the libraries and minify them when going to production.

cfwen commented 7 years ago

yeah, I found my build tool will complaint for including .min.js file, so better to use "jquery.slimscroll.js"

vip9 commented 7 years ago

Still an issue with main-bower-files for gulp. main should have got only "jquery.slimscroll.js"