Possible reasons this is happening:
- Quadruple-check that
BundleConfigis concatenating the files in the correct order. This is by far the most common cause of that error. - Verify you don’t have any top-level
exportdirectives inTest.ts. This would cause the file to become an external module andTest1would no longer be visible.
Failing that, you should post the emitted JavaScript to the question so we can diagnose what’s causing the issue.