Fork me on GitHub
#cljsjs
<
2016-11-26
>
Oliver George04:11:07

I'm interested in using http://blueprintjs.com/ but I'm not sure how best to incorporate it in my build. I don't think they provide a single JS version in releases. I can see cljsjs packages using webpack. Is that the recommended approach?

Oliver George04:11:36

BTW it's a seriously exciting react ui toolkit.

martinklepsch04:11:33

@olivergeorge if something does not provide an already built JS file then yes, some packages shell out and run npm/webpack/whatever

martinklepsch04:11:49

a quick grep for npm should get you some examples

Oliver George04:11:13

Thanks @martinklepsch good to know I'm on the right track.

martinklepsch04:11:45

you could also check if a pre-built JS file is part of the NPM package

Oliver George04:11:00

I see references to webpack in their repo. Perhaps it does do something like that. I'm totally out of the loop when it comes to js build tools & npm. https://github.com/palantir/blueprint/search?utf8=%E2%9C%93&amp;q=webpack

Oliver George04:11:05

s/totally/blissfully/

Oliver George04:11:18

I'll hunt around and see what I can find

martinklepsch04:11:44

https://unpkg.com/#/ — this allows accessing NPM stuff via a CDN

martinklepsch04:11:16

so if there's a file in the package it should help 🙂

mikebelanger21:11:09

Is it possible to make an externs for an AMD-loaded library?

mikebelanger21:11:53

I can't think of a reason why externs wouldn't be possible with AMD, but I want to double-check

flyboarder22:11:02

@juhoteperi i think the socket-io PR is ready :thumbsup: