Recently, I've started using NPM and Gulp in my workflow. Up until this point, I've only dealt with NPM packages that consisted of either only JavaScript or CSS/SASS. Typically, I would either copy the package to a vendor directory to work with it (like with Bourbon) or let Gulp grab the file and concatenate it to my main.js or main.css.
- Do I separate the CSS from the JS in the fancybox NPM package and process them individually (copy, concatenate, rename, etc.)?
Even after reading various blogs on handling NPM (Frontend) Packages, I'm still unsure of the best approach for managing packages like these.
Any thoughts or ideas?