Juho Teperi

Results 298 comments of Juho Teperi

You need to run `npm install @cljs-oss/module-deps` to use module processing.

Looks like you are trying to require React (CommonJS) from ES6 module. That doesn't work currently: https://github.com/google/closure-compiler/issues/2634 And foreign libs (cljsjs) are Cljs only, so they can't be used from...

You can depend on most ES6 modules, but not on those ES6 modules that use CJS. CommonJS -> ES6 Works ES6 -> CommonJS Doesn't I have only looked into case...

This does work: ``` (deftask test-node [] (testing) (cljs :compiler-options {:optimizations :none :main 'lumo.test-runner :verbose true ; :asset-path "main.out" :compiler-stats true :target :nodejs}) ) ```

Breaks PhantomJS also: ``` ~/Source/metosin/metosin-common master* 19s ❯ boot run-tests Compiling ClojureScript... • cljs_test/generated_test_suite.js ;; ====================================================================== ;; Testing with Phantom: ClojureScript could not load :main, did you forget to specify...

Have you checked if boot-reload and boot-cljs-repl have the same problem? They were implemented after boot-cljs so they are using `by-path` but will just build path by concatenating the extension...

If `by-path` has always problems in Windows, I wonder if this should be fixed in Boot itself instead of all libraries using it.

Idiomatic solution is that the user creates the `.cljs.edn` file when using `boot-cljs-devtools` or other tasks that modify the file. I don't think having the options in another place (metadata)...

I do highly recommend creating the `.cljs.edn` file and setting `:require`. Without the file boot-cljs naively requires all cljs files is fileset which might cause unused files being included in...