0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
penpot/frontend/shadow-cljs.edn

169 lines
4 KiB
Clojure
Raw Normal View History

{:deps {:aliases [:dev]}
:http {:port 3448}
:nrepl {:port 3447 :host "0.0.0.0"}
:dev-http {8888 "classpath:public"}
: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"
:reload-strategy :full}
:build-options {:manifest-name "manifest.json"}
:module-loader true
2020-04-16 06:49:59 -05:00
:modules
{:shared
{:entries []}
2022-03-22 02:12:31 -05:00
:main
{:entries [app.main]
:depends-on #{:shared}
:init-fn app.main/init}
:util-highlight
{:entries [app.util.code-highlight]
:depends-on #{:main}}
:main-auth
{:entries [app.main.ui.auth
app.main.ui.auth.verify-token]
:depends-on #{:main}}
:main-viewer
{:entries [app.main.ui.viewer]
:depends-on #{:main :main-auth}}
:main-onboarding
{:entries [app.main.ui.onboarding
app.main.ui.onboarding.questions
app.main.ui.releases]
:depends-on #{:main}}
:main-workspace
{:entries [app.main.ui.workspace]
:depends-on #{:main}}
:main-dashboard
{:entries [app.main.ui.dashboard]
:depends-on #{:main}}
:main-settings
{:entries [app.main.ui.settings]
:depends-on #{:main}}
:render
{:entries [app.render]
:depends-on #{:shared}
:init-fn app.render/init}
:worker
{:entries [app.worker]
:web-worker true
:depends-on #{:shared}}
:rasterizer
{:entries [app.rasterizer]
:depends-on #{:shared}
:init-fn app.rasterizer/init}}
:compiler-options
2022-06-13 04:18:02 -05:00
{:output-feature-set :es2020
:output-wrapper false
:warnings {:fn-deprecated false}}
2020-05-05 05:34:51 -05:00
:release
{:closure-defines {goog.DEBUG false
goog.debug.LOGGING_ENABLED true}
:compiler-options
{:fn-invoke-direct true
:optimizations #shadow/env ["PENPOT_BUILD_OPTIMIZATIONS" :as :keyword :default :advanced]
:output-wrapper true
:rename-prefix-namespace "PENPOT"
:source-map true
: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}}}
;; FIXME: maybe rename to :components ? (there are nothing storybook
;; related, is just an ESM export of components that will be used
;; initially on storybook but not limited to storybook)
2023-11-24 06:24:47 -05:00
:storybook
{:target :esm
2023-11-24 06:24:47 -05:00
:output-dir "target/storybook/"
:js-options {:js-provider :import}
2023-11-24 06:24:47 -05:00
:modules
{:base
{:entries []}
:icons
{:exports {default app.main.ui.icons/default}
:depends-on #{:base}}
2023-11-24 06:24:47 -05:00
:components
{:exports {:default app.main.ui.components/default}
:depends-on #{:base}}}
2023-11-24 06:24:47 -05:00
:compiler-options
{:output-feature-set :es2020
:output-wrapper false
:warnings {:fn-deprecated false}}}
: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 :es2020
: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}}}
:bench
{:target :node-script
:output-to "target/bench.js"
:output-dir "target/bench/"
:main bench/main
:compiler-options
{:output-feature-set :es2020
:output-wrapper false
:warnings {:fn-deprecated false}}
:release
{:compiler-options
{:fn-invoke-direct true
:elide-asserts true
:anon-fn-naming-policy :off}}}
:test
2020-04-30 03:08:36 -05:00
{:target :node-test
:output-to "target/tests.cjs"
:output-dir "target/test/"
:ns-regexp "^frontend-tests.*-test$"
:autorun true
2020-04-30 03:08:36 -05:00
:compiler-options
{:output-feature-set :es2020
:output-wrapper false
:source-map true
:source-map-include-sources-content true
:source-map-detail-level :all
:warnings {:fn-deprecated false}}}
}}