Fork me on GitHub
#shadow-cljs
<
2020-06-23
>
benny21:06:41

is it a known limitation to using kebab casing for init-fn?

thheller21:06:18

@benny not sure what you mean

benny22:06:25

i had init-fn: my-project.core/init inside my build def and it failed saying it couldn’t find the namespace, but when i renamed everything to just myproject it worked just fine

benny22:06:39

it appeared to be because of the dash but maybe something else i’m doing wrong

dpsutton22:06:23

was the folder on disk named with an underscore rather than a hyphen?

naomarik22:06:25

@benny did your filename have an underscore?

thheller22:06:48

yeah the folder needs to be called my_project but the ns can use my-project

benny23:06:21

ahhh. thanks all!