browserify shim cljs简化ClojureScript开发的插件
browserify-shim Leiningen插件,它通过在项目中搜索对(js/require \"module\")的调用并使用-r为每个调用调用browserify来微不足道地简化了ClojureScript开发。使用方法是添加: browserify-builds {\"client\" \"resources/public/js/client-deps.js\"} :cljsbuild { :builds [{ :id \"client\" :source-paths [\"src/browser\" \"src/shared\"]}]} 这样,$ lein browserify-shim会在source-paths中搜索对应的id并将包含项目中提到的所有依赖项的包输出到指定的路径。
下载地址
用户评论