Package Exports
- @bundled-es-modules/chai
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bundled-es-modules/chai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
chai
This is a mirror of chai, bundled and exposed as ES module.
Install
npm install @bundled-es-modules/chai
bower install bundled-es-modules/chaiUse
<script type="module">
import { chai, expect, should, assert } from '@bundles-es-modules/chai';
// or directly
import chai from '@bundles-es-modules/chai/chai.js';
</script>Bower use
<script type="module">
import { chai, expect, should, assert } from 'chai';
// or directly
import chai from 'chai/chai.js';
</script>