Skip to content

Commit aadd244

Browse files
committed
shadow edn fixes
1 parent 95571de commit aadd244

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

shadow-cljs.edn

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,22 @@
2323

2424
:renderer {:target :browser
2525
:output-dir "resources/public/js"
26-
:js-options {:resolve {"fs" {:target :npm :require "graceful-fs"}
27-
"stream" {:target :npm :require "stream-browserify"}}}
26+
:js-options {:resolve {"fs" {:target :npm
27+
:require "graceful-fs"}
28+
"stream" {:target :npm
29+
:require "stream-browserify"}}}
2830
:compiler-options {:optimizations :simple
2931
:silence-optimizations-warning true
3032
:output-wrapper false
3133
:output-feature-set :es-next
3234
:pseudo-names true
3335
:pretty-print true
34-
:closure-defines {config/version :shadow-git-inject/version}}
36+
:closure-defines
37+
{config/version :shadow-git-inject/version}}
3538

36-
:dev {:compiler-options {:closure-defines {re-frame.trace.trace-enabled? true
37-
day8.re-frame.tracing.trace-enabled? true}}
39+
:dev {:compiler-options {:closure-defines
40+
{re-frame.trace.trace-enabled? true
41+
day8.re-frame.tracing.trace-enabled? true}}
3842

3943
:devtools {:preloads [devtools.preload
4044
day8.re-frame-10x.preload.react-18
@@ -62,17 +66,23 @@
6266
:ns-regexp "-test$"
6367
:runner-ns shadow.test.browser
6468
:test-dir "target/browser-test"
65-
:js-options {:resolve {"fs" {:target :npm :require "graceful-fs"}
66-
"stream" {:target :npm :require "stream-browserify"}}}}
69+
:js-options {:resolve {"fs" {:target :npm
70+
:require "graceful-fs"}
71+
"stream" {:target :npm
72+
:require "stream-browserify"}}}}
6773

6874
:karma-test {:target :karma
6975
:ns-regexp "-test$"
7076
:output-to "target/karma-test.js"
71-
:js-options {:resolve {"fs" {:target :npm :require "graceful-fs"}
72-
"stream" {:target :npm :require "stream-browserify"}}}}
77+
:js-options {:resolve {"fs" {:target :npm
78+
:require "graceful-fs"}
79+
"stream" {:target :npm
80+
:require "stream-browserify"}}}}
7381

7482
:portfolio {:target :browser
7583
:modules {:scenes {:init-fn portfolio/init!}}
7684
:output-dir "portfolio/resources/public/js"
77-
:js-options {:resolve {"fs" {:target :npm :require "graceful-fs"}
78-
"stream" {:target :npm :require "stream-browserify"}}}}}}
85+
:js-options {:resolve {"fs" {:target :npm
86+
:require "graceful-fs"}
87+
"stream" {:target :npm
88+
:require "stream-browserify"}}}}}}

0 commit comments

Comments
 (0)