Output not being compiled-down
See original GitHub issueCurrent Behavior
Currently the output is not being transpiled so it can be supported on older browsers eg. class {}
.
Suggested solution(s)
Use @babel/preset-env
and default to ES2015 output
Additional context
It’s problematic because some setups don’t transpile node_modules. This prevents extending classes from tsdx
as babel doesn’t like es5->es6 interop.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Compiles smoothly, does not run, no output (C) - Stack Overflow
1. Your problem is not with C, but the tool called dev-c++ - that's what you need to tag into your question! ·...
Read more >C++ modules compilation: error C3474, could not open output ...
Sometimes when I compile a C++ module (.ixx) the Microsoft Visual C++ Package Server locks the resulting .ifc file, so that you cannot...
Read more >1.1. Compiling and Executing Programs
When a non-header file is compiled, we get an object-code file, usually ending in “ .o ”. These are binary files that are...
Read more >5.8. Filenames and separate compilation - Haskell.org
Filenames and separate compilation¶. This section describes what files GHC expects to find, what files it creates, where these files are stored, and...
Read more >Troubleshooting and tips — Numba 0.50.1 documentation
Another common reason for Numba not being able to compile your code is that it ... In the terminal ( ... on a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will investigate in the mornjng
Figured it out. There was a
tsconfigOverride
declared in the typescript rollup plugin that forcedtarget
toesnext
. Changed it to default toes5
and it can be declared in a tsconfig at the project level. https://github.com/palmerhq/tsdx/pull/111