@juhoteperi the deps.cljs
file for clipboard.js doesn't have a :file-min
entry
this is causing our production build to include a non-minified version of clipboard
(the minified file is in the JAR, just not referenced from deps.cljs
)
has this happened to you before?
oh, this should probably be production
https://github.com/cljsjs/packages/blob/master/clipboard/build.boot#L25
@anmonteiro important bit is the file extension
there was a .min.js
it was put in a development
folder instead of a production
folder
should be inc.min.js
or min.inc.js
(not sure which right now)
would this fix it? https://github.com/cljsjs/packages/pull/952/files
oh. it's the extension, got it
@anmonteiro does it show up in deps.cljs with your change?
I edited in GitHub because I'm lazy 😄
going to properly clone the repo
😄
good luck
gotta sleep 👋
thanks
.min.inc.js
is the correct extension
btw, if you need to just copy text to clipboard: https://github.com/metosin/komponentit/blob/master/src/cljs/komponentit/clipboard.cljs
@juhoteperi thanks. I'm working on a proper PR locally now, closing that one
👍