This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-19
Channels
- # announcements (5)
- # asami (7)
- # aws (10)
- # babashka (10)
- # beginners (49)
- # calva (12)
- # cider (5)
- # circleci (1)
- # clj-kondo (25)
- # clj-yaml (14)
- # clojars (5)
- # clojure (134)
- # clojure-europe (142)
- # clojure-france (3)
- # clojure-nl (1)
- # clojure-norway (4)
- # clojurescript (10)
- # cursive (8)
- # datomic (19)
- # emacs (11)
- # fulcro (8)
- # graalvm (29)
- # honeysql (7)
- # jobs (4)
- # jobs-discuss (9)
- # lsp (196)
- # obb (4)
- # off-topic (40)
- # pathom (4)
- # releases (4)
- # remote-jobs (3)
- # shadow-cljs (16)
- # sql (25)
- # squint (2)
- # tools-deps (12)
- # xtdb (7)
- # yada (4)
hey @thheller , i was hoping to give shadow-css a try, but i can't seem to get it to work as expected based on the readme. i use the development watching build described in the readme. it does output the "base" ui.css, but none of the (css) from cljs files seems to make it into the .css file. am i missing something? are there some undocumented expectations about file naming? does it need something extra be put in the index.html or something?
never mind, figured it out. i didn't notice the
filter in the generate-css function. once i adjusted that it now works as a wonder.
are there any plans for making the build process smoother (and maybe integrated seamlessly with shadow-cljs)? i'd be happy to help if hands are needed
anybody know why I get this
Is it because of the URL http://localhost:8020/app/index.html ?
i suspect something is serving a html 404 page and it doesn't know about your map files
ahh I see now that the mapping is under /app/ but i suspect that it should be above it
yeah the correct path is http://localhost:8020/app-js/cljs-runtime/cljs.analyzer.impl.namespaces.js.map
for instance
I needed to set :asset-path "/app-js"
Hello, I'm trying to reduce a shadow bundle size when using shadow-cljs release
with advanced compilation and a browser target. One library that's contributing quite a bit seems to be https://www.npmjs.com/package/@aws-amplify/ui-react. When I remove the library from the codebase, 7M is saved. I was able to slightly reduce its footprint by directly referencing the classes we're using (ex 700Kb).
Any tips to further investigate or different directions I should go? I could permanently use webpack along with shadow if that's the recommended way to go but wanted to check if I can get it working w/ just shadow. Thanks in advance!@aws-amplify/ui-react/dist/esm/components/Authenticator
) bringing it down to 4.5M, but I'm still seeing much higher than what I get when I bundle it using webpack (
create a build report https://shadow-cljs.github.io/docs/UsersGuide.html#build-report