2021-05-28 06:50:42 -05:00
|
|
|
{:deps {:aliases [:dev]}
|
|
|
|
:http {:port 3448}
|
2021-10-13 10:39:03 -05:00
|
|
|
:nrepl {:port 3447 :host "0.0.0.0"}
|
2021-05-25 09:45:04 -05:00
|
|
|
:jvm-opts ["-Xmx700m" "-Xms100m" "-XX:+UseSerialGC" "-XX:-OmitStackTraceInFastThrow"]
|
2021-04-26 04:19:50 -05:00
|
|
|
:dev-http {8888 "classpath:public"}
|
2020-03-29 07:33:54 -05:00
|
|
|
|
|
|
|
:builds
|
|
|
|
{:main
|
|
|
|
{:target :browser
|
|
|
|
:output-dir "resources/public/js/"
|
|
|
|
:asset-path "/js"
|
2020-06-05 07:14:49 -05:00
|
|
|
:devtools {:browser-inject :main
|
|
|
|
:watch-dir "resources/public"}
|
2020-04-17 08:03:34 -05:00
|
|
|
:build-options {:manifest-name "manifest.json"}
|
2020-06-02 09:14:23 -05:00
|
|
|
|
2020-04-16 06:49:59 -05:00
|
|
|
:modules
|
|
|
|
{:shared {:entries []}
|
2022-03-22 02:12:31 -05:00
|
|
|
|
2020-08-18 12:26:37 -05:00
|
|
|
:main {:entries [app.main]
|
2020-04-18 13:34:34 -05:00
|
|
|
:depends-on #{:shared}
|
2020-08-18 12:26:37 -05:00
|
|
|
:init-fn app.main/init}
|
2022-03-22 02:12:31 -05:00
|
|
|
|
|
|
|
:render {:entries [app.render]
|
|
|
|
:depends-on #{:shared}
|
|
|
|
:init-fn app.render/init}
|
|
|
|
|
2020-08-18 12:26:37 -05:00
|
|
|
:worker {:entries [app.worker]
|
2020-04-16 06:49:59 -05:00
|
|
|
:web-worker true
|
|
|
|
:depends-on #{:shared}}}
|
2021-05-04 08:15:42 -05:00
|
|
|
|
2020-04-02 16:56:26 -05:00
|
|
|
:compiler-options
|
2022-06-13 04:18:02 -05:00
|
|
|
{:output-feature-set :es2020
|
2021-05-04 08:15:42 -05:00
|
|
|
:output-wrapper false
|
|
|
|
:warnings {:fn-deprecated false}}
|
2020-05-05 05:34:51 -05:00
|
|
|
|
2020-04-02 16:56:26 -05:00
|
|
|
:release
|
2021-10-15 07:45:56 -05:00
|
|
|
{:closure-defines {goog.DEBUG false
|
|
|
|
goog.debug.LOGGING_ENABLED true}
|
|
|
|
:compiler-options
|
2020-04-02 16:56:26 -05:00
|
|
|
{:fn-invoke-direct true
|
2021-11-12 07:31:28 -05:00
|
|
|
:optimizations #shadow/env ["PENPOT_BUILD_OPTIMIZATIONS" :as :keyword :default :advanced]
|
2020-04-02 16:56:26 -05:00
|
|
|
:source-map true
|
2020-12-03 04:31:07 -05:00
|
|
|
:elide-asserts true
|
2020-04-08 09:54:44 -05:00
|
|
|
:anon-fn-naming-policy :off
|
2020-04-30 03:08:36 -05:00
|
|
|
:source-map-detail-level :all}}}
|
|
|
|
|
2021-05-28 05:59:43 -05:00
|
|
|
:lib-penpot
|
|
|
|
{:target :esm
|
|
|
|
:output-dir "resources/public/libs"
|
|
|
|
|
|
|
|
:modules
|
|
|
|
{:penpot {:exports {:renderPage app.libs.render/render-page-export
|
|
|
|
:createFile app.libs.file-builder/create-file-export}}}
|
|
|
|
|
|
|
|
:compiler-options
|
|
|
|
{:output-feature-set :es8
|
|
|
|
:output-wrapper false
|
|
|
|
:warnings {:fn-deprecated false}}
|
|
|
|
|
|
|
|
:release
|
|
|
|
{:compiler-options
|
|
|
|
{:fn-invoke-direct true
|
|
|
|
:source-map true
|
|
|
|
:elide-asserts true
|
|
|
|
:anon-fn-naming-policy :off
|
|
|
|
:source-map-detail-level :all}}}
|
|
|
|
|
2022-02-24 17:41:03 -05:00
|
|
|
:bench
|
|
|
|
{:target :node-script
|
|
|
|
:output-to "target/bench.js"
|
|
|
|
:output-dir "target/bench/"
|
|
|
|
:main cljs.user/main
|
|
|
|
|
|
|
|
:compiler-options
|
|
|
|
{:output-feature-set :es8
|
|
|
|
:output-wrapper false
|
|
|
|
:warnings {:fn-deprecated false}}
|
|
|
|
|
|
|
|
:release
|
|
|
|
{:compiler-options
|
|
|
|
{:fn-invoke-direct true
|
|
|
|
:elide-asserts true
|
|
|
|
:anon-fn-naming-policy :off}}}
|
|
|
|
|
2021-05-28 06:50:42 -05:00
|
|
|
:test
|
2020-04-30 03:08:36 -05:00
|
|
|
{:target :node-test
|
|
|
|
:output-to "target/tests.js"
|
2021-12-10 03:45:17 -05:00
|
|
|
:output-dir "target/test/"
|
2021-05-28 06:50:42 -05:00
|
|
|
:ns-regexp "^app.*-test$"
|
2021-12-10 03:45:17 -05:00
|
|
|
:autorun true
|
2020-04-30 03:08:36 -05:00
|
|
|
|
2021-12-10 03:45:17 -05:00
|
|
|
:compiler-options
|
2022-08-02 10:15:32 -05:00
|
|
|
{:output-feature-set :es2020
|
2021-12-10 03:45:17 -05:00
|
|
|
:output-wrapper false
|
|
|
|
:source-map true
|
|
|
|
:source-map-include-sources-content true
|
|
|
|
:source-map-detail-level :all
|
|
|
|
:warnings {:fn-deprecated false}}}
|
2021-11-30 11:22:17 -05:00
|
|
|
|
2021-12-10 03:45:17 -05:00
|
|
|
}}
|
2021-11-30 11:22:17 -05:00
|
|
|
|