Repository navigation
Commit 0bf4860
authored
fix: drop browser export condition pointing at the ESM build (#87)
Jest 28+ resolves the browser condition under jest-environment-jsdom and
then loads dist/esm/index.mjs as CommonJS, failing with "Cannot use import
statement outside a module". Bundlers already pick the same file through
the import condition, so the browser entries only affected Jest.
Fixes #701 parent 0009053 commit 0bf4860
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments