Fork me on GitHub
#shadow-cljs
<
2021-02-20
>
mauricio.szabo01:02:16

Hi there! Is there any way to make shadow don't try to resolve a Javascript require? The problem I'm facing is that for some libraries that do run on the browser and are expected to be bundled by webapack, they sometimes wrap the require into a try...`catch` and then shadow tries to resolve it and fails

thheller08:02:55

@mauricio.szabo :js-options {:resolve {"that-package" false}}

mauricio.szabo18:02:50

Oh, great! Thanks again, it worked!