reagent/test-environments/bundle-adv
Juho Teperi 58583db56d Add tests using Cljs bundle output with Karma
New :bundle target will generate JS tooling compatible output, which can
be processed with Webpack and passed to Karma.
2020-04-16 22:45:51 +03:00
..
README.md Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
build.edn Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
build.sh Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
karma.conf.js Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
karma.edn Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
test.sh Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00
webpack.config.js Add tests using Cljs bundle output with Karma 2020-04-16 22:45:51 +03:00

README.md

Advanced optimized JS bundle

  • tesh.sh
    • Creates karma.js bundle using karma.edn, including the test suite.
    • Runs Karma with karma.config.js.
  • build.sh
    • Creates index.js bundle which contains the demo site, without test suite.
    • Runs Webpack and copies static files to target folder.
  • The bundles share the ClojureScript compiler output-dir, so need to compile everything twice.