cljsjs

martinklepsch 2016-11-26T04:15:18.001230Z

test2

Oliver George 2016-11-26T04:38:07.001231Z

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 George 2016-11-26T04:38:36.001233Z

BTW it's a seriously exciting react ui toolkit.

martinklepsch 2016-11-26T04:41:33.001235Z

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

martinklepsch 2016-11-26T04:41:49.001236Z

a quick grep for npm should get you some examples

Oliver George 2016-11-26T04:42:13.001237Z

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

martinklepsch 2016-11-26T04:42:45.001238Z

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

Oliver George 2016-11-26T04:44:00.001239Z

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&q=webpack

Oliver George 2016-11-26T04:44:05.001241Z

s/totally/blissfully/

Oliver George 2016-11-26T04:44:18.001242Z

I'll hunt around and see what I can find

martinklepsch 2016-11-26T04:45:44.001243Z

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

martinklepsch 2016-11-26T04:47:16.001245Z

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

Oliver George 2016-11-26T04:50:20.001246Z

I think it's distributed as many js files based on these links: https://unpkg.com/@blueprintjs/core@1.1.0 https://unpkg.com/@blueprintjs/core@1.1.0/

mikebelanger 2016-11-26T21:39:09.001247Z

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

mikebelanger 2016-11-26T21:42:53.001248Z

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

flyboarder 2016-11-26T22:39:02.001251Z

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

1