Fork me on GitHub
#cljs-dev
<
2020-04-09
>
dnolen17:04:48

Added :deps-cmd compiler option and a flag for cljs.main --deps-cmd, you can swap in yarn if you like

dnolen19:04:01

hrm I think with the new flags I think we're pretty much almost there w/ transitive deps on node_modules

dnolen19:04:43

:target :nodejs + :node-rt false outputs files where you simply need to handle require for REPLs - should be close to trivial

dnolen19:04:56

and I believe that webpack and I know metro can handle them for prod builds

dnolen21:04:22

we can eliminate all the existing Webpack boilerplate

dnolen21:04:42

and actually we can stop caring about Webpack / Metro / ClosureBundler

dnolen21:04:38

or whatever comes next, all that matters is that we have something that will remove require for you when you build.

dnolen21:04:05

i.e. not our problem - but easily supports whatever you want to use for dev (REPL) / prod

mfikes22:04:01

Yeah, I'm thinking CLJS-2987 is complete.

dnolen22:04:02

k for the next release moving all known externs inference bugs to blockers

mfikes22:04:26

As well as CLJS-2988

dnolen22:04:01

and will see what's needed for ClojureScript to support transitive deps from node_modules out of the box w/o boilerplate