codesandbox-client
codesandbox-client copied to clipboard
Why is it sometimes imported from `main` field and sometimes imported from `module` field
🐛 bug report
Preflight Checklist
- [x] I have read the Contributing Guidelines for this project.
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
I have some dependcies compiles to es6 and other compiles to es5. So the behavior in extends of Class was broken.
How has this issue affected you? What are you trying to accomplish?
I get Class constructor Selection cannot be invoked without 'new'
I want to import file defined by main field in package.json or compile them all to es5
To Reproduce
Insert table and press backspace at the head of the next line.

Link to sandbox: sandbox (optional)

