shadow-cljs.edn 1.1 KB

12345678910111213141516171819202122
  1. {:deps {:aliases [:frontend]}
  2. :dev-http {8020 {:root "resources/public"
  3. :proxy-url "http://localhost:3000"}}
  4. :builds
  5. {:tubo
  6. {:target :browser
  7. :asset-path "/js"
  8. :output-dir "resources/public/js"
  9. :git-inject {:version-pattern "^(.*)$"}
  10. :build-hooks [(shadow-git-inject.core/hook)
  11. (hooks/copy-assets
  12. {:public-dir "resources/public"
  13. :assets {"resources/src/icons" "icons"
  14. "resources/src/index.html" "index.html"}})]
  15. :dev {:build-hooks [(hooks/webpack-watch)]}
  16. :release {:build-hooks [(hooks/webpack-release)]}
  17. :compiler-options {:closure-defines {tubo.utils/version
  18. :shadow-git-inject/version}}
  19. :js-options {:entry-keys ["module" "browser" "main"]
  20. :export-conditions ["import" "module" "browser" "require"
  21. "default"]}
  22. :modules {:main {:init-fn tubo.core/init}}}}}