Repository navigation
Commit b9a9402
committed
feat(v3/runtime): export cancellable utilities
The package ships dist/cancellable.js and types/cancellable.d.ts, but the
exhaustive exports map only lists "." and "./plugins/*", so
`@wailsio/runtime/cancellable` fails with ERR_PACKAGE_PATH_NOT_EXPORTED.
The root entry runs the runtime bootstrap and environment detection on
import, so consumers that only want CancellablePromise, such as browser
test infrastructure, have no side-effect-free import path.
cancellable.js is absent from "sideEffects", so the standalone entry stays
free of bootstrap side effects.1 parent 623b529 commit b9a9402
3 files changed
Lines changed: 18 additions & 0 deletions
File tree
- v3
- internal/runtime/desktop/@wailsio/runtime
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments