File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
registry/coder/modules/windows-rdp Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 11{
2- // Even though this module doesn't contain any TypeScript, it's still
2+ // Even though this Coder module doesn't contain any TypeScript, it's still
33 // incredibly helpful to include a custom tsconfig file here to ensure that
44 // the raw, unprocessed JavaScript we send doesn't use features that are too
55 // modern, to maximize browser compatibility
66 "extends" : [" ../../../../tsconfig.json" ],
77 "compilerOptions" : {
8- "target" : " ES6" ,
9- "module" : " ES6"
8+ // Not using ES6, because ES2018 gives some features that make testing a
9+ // little bit easier. That's still a large net that catches most of our
10+ // target audience, though
11+ "target" : " ES2018" ,
12+
13+ // Have to still use ESNext module for the testing setup; otherwise the
14+ // tests will break from the `import.meta` references.
15+ "module" : " ESNext" ,
16+
17+ "paths" : {
18+ // 2025-04-16 - This seems to be a Bun-specific bug, where extending the
19+ // tsconfig file causes all paths from the base tsconfig file to be
20+ // forgotten. Node and the VSCode IDE recognize the path no problem, but
21+ // without this, the tests will fail.
22+ "~test" : [" ../../../../test/test.ts" ]
23+ }
1024 }
1125}
You can’t perform that action at this time.
0 commit comments