clojurescript-unraveled icon indicating copy to clipboard operation
clojurescript-unraveled copied to clipboard

4.6.1 -> :asset-path Required

Open pwhittin opened this issue 5 years ago • 0 comments

The following Clojure code:

(assoc build-opts
                  :main 'leapyears.test.main
                  :output-to "out/tests.js"
                  :output-dir "out/tests"
                  :target :nodejs)

needs to be:

(assoc build-opts
                  :main 'leapyears.test.main
                  :output-to "out/tests.js"
                  :output-dir "out/tests"
                  :asset-path "out/tests"
                  :target :nodejs)

and the following Clojure code:

(assoc build-opts
                      :main 'leapyears.test.main
                      :watch-fn run-tests
                      :output-to "out/tests.js"
                      :output-dir "out/tests"
                      :target :nodejs)

needs to be:

(assoc build-opts
                      :main 'leapyears.test.main
                      :watch-fn run-tests
                      :output-to "out/tests.js"
                      :output-dir "out/tests"
                      :asset-path "out/tests"
                      :target :nodejs)

pwhittin avatar Oct 15 '20 22:10 pwhittin