3 ms·
Surely they should work the way they work in ES6? Any solution that requires extra work (file extension, another file to maintain) is a non-starter. Frankly i
by abritinthebay 11y ago
Surely they should work the way they work in ES6?
Any solution that requires extra work (file extension, another file to maintain) is a non-starter.
Frankly it should work how Babel transpiles it - because there's no reason for it not to.
- mudetroit 11y agoES6 didn't define precisely how module loading worked, one of the reasons it isn't actually implemented yet. And there are actual reasons why the method babel currently uses won't precisely match the actual implementations (see hierarchal v flat dependencies)
- abritinthebay 11y agoThose problems are just as present in CJS as far as I'm aware though...? Yet they were solved for that.
- deleted 11y ago[deleted]