This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-24
Channels
- # beginners (19)
- # boot (118)
- # capetown (4)
- # cider (37)
- # cljs-dev (69)
- # cljsjs (23)
- # clojure (212)
- # clojure-austin (10)
- # clojure-india (3)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-nl (1)
- # clojure-russia (5)
- # clojure-spec (52)
- # clojure-uk (86)
- # clojurescript (31)
- # core-async (9)
- # cursive (123)
- # datomic (91)
- # emacs (22)
- # events (3)
- # hoplon (68)
- # klipse (4)
- # lambdaisland (10)
- # leiningen (2)
- # off-topic (14)
- # om (14)
- # onyx (44)
- # perun (14)
- # proton (20)
- # re-frame (15)
- # reagent (10)
- # ring-swagger (9)
- # specter (18)
- # untangled (3)
- # vim (26)
- # yada (4)
@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