Current Behavior
My code isn't getting bundled because tsdx treats everything as external modules, the resulting bundle only contains the compiled index.ts file.
Expected behavior
My files shouldn't be treated as external modules.
Suggested solution(s)
Could it be something related to the external function? https://github.com/palmerhq/tsdx/blob/v0.5.7/src/utils.ts#L19
Additional context
I'm getting the following warning for all my .ts files (except the root index.ts file):
No name was provided for external module 'C:/xyz/xyz/xyz/xyz.ts' in output.globals – guessing 'xyz_ts'
Your environment
| Software |
Version(s) |
| TSDX |
0.5.7 |
| TypeScript |
3.4.5 |
| Browser |
Chrome Version 74.0.3729.131 |
| npm/Yarn |
Node v10.11.0, npm 6.4.1 |
| Operating System |
Windows 10 |
Current Behavior
My code isn't getting bundled because tsdx treats everything as external modules, the resulting bundle only contains the compiled
index.tsfile.Expected behavior
My files shouldn't be treated as external modules.
Suggested solution(s)
Could it be something related to the
externalfunction? https://github.com/palmerhq/tsdx/blob/v0.5.7/src/utils.ts#L19Additional context
I'm getting the following warning for all my
.tsfiles (except the rootindex.tsfile):Your environment