Fork me on GitHub

I’m trying to package up the Photoswipe library ( and I found that it puts its core js code in one file photoswipe.js and has a different js file for the default UI photoswipe-ui-default.js I see that cljsjs only packages up one *.inc.js file, so do you think I should create two packages, one core and one with the UI, or should I concatenate the files together somehow?


As a follow up, to my question, I wrote the concatenation code. And I think that’s a good default for most people, unless anyone has objections.


@adamfrey: some packages provide multiple namespaces. Check highlight js.


thanks! I’ll look at it