Another noob question...Writing react-toolbox-1.3.3-0.jar… where is it?
Can anybody give me a hand figuring out externs for an ES6 library?
Is there a way to use Bootstrap's Less via cljsjs?
@peeja No, Cljsjs package only includes the JS files
Is there a way to get them without resorting to Bower?
@peeja However, you can include Webjars for package with all the files: [org.webjars.bower/bootstrap "3.3.7"]
That jar includes e.g. META-INF/resources/webjars/bootstrap/3.3.7/less/bootstrap.less
Ah, sweet! Thanks.
my Less4clj package can directly import files from classpath and has special case for resolving imports from webjars: https://github.com/Deraen/less4clj
Dang, that's fantastic!
Thanks!
I’m trying to package react-toolbox (https://github.com/pupeno/packages/commit/a054c1cdeb0a1b4195e974113826f17f0a4f5f72) and when I load it in my app, I get the error: Uncaught Error: locals[0] does not appear to be a module
object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using env
section in Babel configuration. See the example in README: https://github.com/gaearon/react-transform-hmr
Does that ring a bell to anybody?