Support `import.meta.dirname` and `import.meta.filename`
bugpending triage
### Acknowledgements
- [x] I read the documentation and searched existing issues to avoid duplicates
- [x] I understand this is a **bug tracker** and anything other than a proven bug will be closed
- [x] I understand this is a free project and relies on community contributions
- [x] I read and understood the [Contribution guide](https://github.com/privatenumber/tsx/blob/master/CONTRIBUTING.md)
### Minimal reproduction URL
-
### Problem & expected behavior (under 200 words)
You can reproduce with:
```bash
echo "console.log(import.meta.dirname);console.log(import.meta.filename);" > test.js
tsx test.js # undefined undefined
```
### Bugs are expected to be fixed by those affected by it
- [ ] I'm interested in working on this issue
### Compensating engineering work will speed up resolution and support the project
- [ ] I'm willing to offer $10 for financial support
0 条评论