Open ericnewton76 opened 6 years ago
So, are you cool with restructuring the files a little?
$ cp ./jquery.colorbox.js ./dist/jquery.colorbox.js
$ uglify-js ./dist/jquery.colorbox.js
$ uglify-js ./i18n/*.js ./dist/i18n/*.js
$ mv the core css classes from exampleN/colorbox.css into ./dist/jquery.colorbox.css
$ mv Each exampleN/colorbox.css and `*.png` moved to themeN/jquery.colorbox.css and dist/themeN/*.png
After we're done, dist folder would look like this:
./dist/jquery.colorbox.js
./dist/jquery.colorbox.min.js
./dist/jquery.colorbox-core.css
./dist/i18n/*
./dist/themeN/jquery.colorbox.css
./dist/themeN/*.png
Lastly, the following:
gulp deploy
or grunt to create dist from current src
Yeah I see colorbox.css in example1,2,3,4,5, however this should be declared with your bower.json main
Sometimes its easiest to create a dist/ folder and slap the .js min.js and .css in there, and declare bower.json main to point to dist/*
Also whomever submitted this to cdnjs is missing the colorbox.css altogether.