Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork17
Commit2255b20
committed
(pkg/types): export typings and CJS builds
- typings now output for TS devs, who overlap a lot with MobX devs!- ESM build now hidden behind `module`, while CJS dev and prod builds are under `main`- CJS appears to still be necessary per#3, but not necessarily for browser support, for _test_ support it's also necessary - unless one is transpiling node_modules or using the `esm` package, Node's support for ESM is still behind a flag / not in LTS - also it may not support `module` field per docs? might need .mjs?1 parentf6ba720 commit2255b20
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments
Comments
(0)