Fork me on GitHub
#shadow-cljs
<
2022-11-20
>
valerauko04:11:04

is there a way to require namespace a.b.c.d and alias it as c.d? i'd like to have something like

(:require [a.b
           [c.d]
           [e.f]])

thheller05:11:12

prefix lists are not supported in CLJS

valerauko06:11:07

that's too bad 😞

thheller07:11:15

IMHO prefix lists are horrible and I don't like them at all 😉

🤷 1
thheller07:11:44

but I don't want to break compatibility with regular CLJS, so I won't add them until they do

valerauko07:11:17

would you be okay with adding a warning in shadow-css if it runs into :content "" ? this will emit css content: ; which seems to be invalid. the "correct" way to write it in shadow-css would be :content "\"\"" but this is too easy to forget.

thheller07:11:59

sure, makes sense everywhere not just content

valerauko08:11:21

should that be in the spec or a check in add-map?

valerauko08:11:00

blazing fast âš¡

thheller08:11:21

need a release or do you use deps.edn anyways?

valerauko08:11:54

would be lovely to have a release ~

valerauko08:11:22

thanks a lot!