0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Disable namespace loading info in console from shadow-cljs

This commit is contained in:
Florian Schroedl 2024-09-20 09:34:54 +02:00
parent 9b2993a344
commit 501256f16b
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,7 @@
(ns preload
(:require
[devtools.core :as devtools]))
;; Silence shadow-cljs devtools (ns reloading)
(devtools/set-pref! :dont-display-banner true)
(devtools/set-pref! :min-expandable-sequable-count-for-well-known-types 0)

View file

@ -8,7 +8,9 @@
{:target :browser
:output-dir "resources/public/js/"
:asset-path "/js"
:devtools {:browser-inject :main
:devtools {:preloads [preload devtools.preload]
:log false
:browser-inject :main
:watch-dir "resources/public"
:reload-strategy :full}
:build-options {:manifest-name "manifest.json"}
@ -65,7 +67,8 @@
:compiler-options
{:output-feature-set :es2020
:output-wrapper false
:warnings {:fn-deprecated false}}
:warnings {:fn-deprecated false}
:closure-defines {shadow.debug.LogLevel :warning}}
:release
{:closure-defines {goog.DEBUG false