-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
66 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ compiled*/ | |
misc/ | ||
/node_modules/ | ||
/.shadow-cljs/ | ||
/shadow-cljs.edn | ||
/.clj-kondo/ | ||
/.lsp/ | ||
.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{:deps true | ||
:nrepl {:port 7777} | ||
|
||
:builds {:demo | ||
{:target :browser | ||
:modules {:demo {:init-fn re-demo.core/mount-demo}} | ||
:build-hooks [(shadow-git-inject.core/hook)] | ||
:compiler-options {:closure-defines {re-com.config/version :shadow-git-inject/version | ||
;; For production builds of the demo app, set goog.DEBUG | ||
;; to be true so that the debugging demo page works as expected. | ||
goog.DEBUG true | ||
re-com.config/force-include-args-desc? true} | ||
;; For production builds of the demo app, keep the component name | ||
;; symbols for display in validation error logging. | ||
:pseudo-names true | ||
:externs ["externs/detect-element-resize-externs.js"]} | ||
:dev {:asset-path "/compiled_dev/demo" | ||
:output-dir "run/resources/public/compiled_dev/demo" | ||
:compiler-options | ||
{:closure-defines {;; When re-com produces validation errors it tries to provide links | ||
;; to source code. These links require that you provide the root URL | ||
;; to the ClojureScript compiler output with source maps. | ||
re-com.config/root-url-for-compiler-output | ||
"http://localhost:3449/compiled_dev/demo/cljs-runtime/"} | ||
:external-config {:devtools/config {:features-to-install [:formatters :hints]}}}} | ||
:release {:output-dir "run/resources/public/compiled_prod/demo" | ||
:compiler-options {:closure-defines {;; For production builds, such as the demo website, there is no source | ||
;; code to link to in validation errors or component stacks, so we set | ||
;; it to an empty string to cause links to not be displayed at all. | ||
re-com.config/root-url-for-compiler-output ""}}} | ||
:devtools {:http-port 3449 | ||
:http-root "run/resources/public" | ||
:push-state/index "index_dev.html" | ||
:preloads [hashp.core]}} | ||
|
||
:browser-test {:target :browser-test | ||
:ns-regexp "-test$" | ||
:test-dir "run/resources/public/compiled_test/demo" | ||
:compiler-options {:closure-defines {re-com.config/version :shadow-git-inject/version} | ||
:externs ["externs/detect-element-resize-externs.js"] | ||
:external-config {:devtools/config {:features-to-install [:formatters :hints]}}} | ||
:devtools {:http-port 8021 | ||
:http-root "run/resources/public/compiled_test/demo"}} | ||
:karma-test {:target :karma | ||
:ns-regexp ".*-test$" | ||
:output-to "target/karma/test.js" | ||
:compiler-options {:pretty-print true | ||
:closure-defines {re-com.config/version :shadow-git-inject/version} | ||
:externs ["externs/detect-element-resize-externs.js"]}}}} | ||
- |