mirror of https://github.com/status-im/reagent.git
58583db56d
New :bundle target will generate JS tooling compatible output, which can be processed with Webpack and passed to Karma. |
||
---|---|---|
.. | ||
README.md | ||
build.edn | ||
build.sh | ||
karma.conf.js | ||
karma.edn | ||
test.sh | ||
webpack.config.js |
README.md
Advanced optimized JS bundle
tesh.sh
- Creates
karma.js
bundle usingkarma.edn
, including the test suite. - Runs Karma with
karma.config.js
.
- Creates
build.sh
- Creates
index.js
bundle which contains the demo site, without test suite. - Runs Webpack and copies static files to target folder.
- Creates
- The bundles share the ClojureScript compiler output-dir, so need to compile everything twice.