Commit 89d7997
committed
feat: rework into ES modules
This moves all of the sources to be ES modules rather than CommonJS.
In order to produce the entrypoints, we use esbuild as a bundler (and as
a transpiler in a way).
Due to the fact that some dependencies are written in CommonJS, we
actually use esbuild to create _two_ bundles: a CommonJS bundle, and an
ES module bundle.
Otherwise, someone importing the raw source would inevitably end up
trying to import a CommonJS module somewhere down the tree, which would
not work in browsers natively.1 parent bea9401 commit 89d7997
File tree
42 files changed
+7649
-20079
lines changed- lib
- chai
- core
- interface
- utils
- test
- bootstrap
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+7649
-20079
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments