项目作者: duct-framework

项目描述 :
Integrant methods for compiling ClojureScript
高级语言: Clojure
项目地址: git://github.com/duct-framework/compiler.cljs.git
创建时间: 2017-02-22T16:19:35Z
项目社区:https://github.com/duct-framework/compiler.cljs

开源协议:

下载


Duct compiler.cljs

Integrant methods for compiling ClojureScript files in the
Duct framework. This compiler is typically invoked before
compiling an uberjar for production release. For working with
ClojureScript during development, use server.figwheel.

Installation

To install, add the following to your project :dependencies:

  1. [duct/compiler.cljs "0.3.0"]

Usage

This library provides the :duct.compiler/cljs key, and works much
the same way as lein-cljsbuild.

  1. {:duct.compiler/cljs
  2. {:builds [{:source-paths ["src"]
  3. :build-options {:output-to "target/js/main.js"
  4. :output-dir "target/js"
  5. :optimizations :whitespace}}]}}

The :build-options available are covered in the ClojureScript
page on compiler options.

License

Copyright © 2017 James Reeves

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.