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
..

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.