[add] Add webpack support#1
[add] Add webpack support#1little-arhat wants to merge 1 commit intoAppliedMathematicsANU:masterfrom
Conversation
|
This package consists of a single source file with no dependencies, so I don't understand the purpose of using webpack here. Can you lead me to any resources explaining how to write ClojureScript-friendly npm packages? |
|
Hi,
One of the simplest way to use js libraries in ClojureScript project is to use cljsjs, that allows you to provide Google Closure externs and deps information, so the library can be wrapped as a jar. But when I tried to create this wrapper from the v0.0.4 of the I guess, one can add preamble with |
To simplify using it in clojure script, for example.