shadow-cljs

roklenarcic 2026-01-18T18:55:24.310909Z

I am running some developer build in shadow and produced js file has a stack for these statements:

SHADOW_ENV.evalLoad("goog.debug.error.js", true, "goog.loadModule(functio.....\n");
I have a content security policy on the html document and it blocks all of these. Is there a way I can make this work with my nonce?

thheller 2026-01-19T08:48:59.413019Z

just don't have a CSP rule in development which blocks these (probably unsafe-eval)

thheller 2026-01-19T08:49:19.005889Z

if you block eval a lot of watch related things will not work (hot-reload, repl, etc)

roklenarcic 2026-01-19T08:49:27.641339Z

ok