|
23 | 23 |
|
24 | 24 | :renderer {:target :browser
|
25 | 25 | :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"}}} |
28 | 30 | :compiler-options {:optimizations :simple
|
29 | 31 | :silence-optimizations-warning true
|
30 | 32 | :output-wrapper false
|
31 | 33 | :output-feature-set :es-next
|
32 | 34 | :pseudo-names true
|
33 | 35 | :pretty-print true
|
34 |
| - :closure-defines {config/version :shadow-git-inject/version}} |
| 36 | + :closure-defines |
| 37 | + {config/version :shadow-git-inject/version}} |
35 | 38 |
|
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}} |
38 | 42 |
|
39 | 43 | :devtools {:preloads [devtools.preload
|
40 | 44 | day8.re-frame-10x.preload.react-18
|
|
62 | 66 | :ns-regexp "-test$"
|
63 | 67 | :runner-ns shadow.test.browser
|
64 | 68 | :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"}}}} |
67 | 73 |
|
68 | 74 | :karma-test {:target :karma
|
69 | 75 | :ns-regexp "-test$"
|
70 | 76 | :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"}}}} |
73 | 81 |
|
74 | 82 | :portfolio {:target :browser
|
75 | 83 | :modules {:scenes {:init-fn portfolio/init!}}
|
76 | 84 | :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