Commit 0cba1d2
committed
Import files with .ts extensions
We have at least one passionate user (because they contributed!) using Bun,
so there's probably others. Bun and Deno can run .ts files directly - but
if we confuse them with import paths that don't resolve until after a transpile
step, they can break.
This PR ensures all files are imported as .ts files and then rewritten at build time
for compatibility with non-TypeScript runtimes.1 parent 4bc27d7 commit 0cba1d2
60 files changed
Lines changed: 2107 additions & 260 deletions
File tree
- examples
- src
- actionlib
- core
- transport
- math
- tf
- types
- urdf
- test
- examples
- setup
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments