The patterns encouraged by this package are awesome, but they are only as good as the tools that support them.
The use ofimport.meta.url in the analysis has limited support in build tools and test frameworks. For example in this project's own tests, import.meta.url can't be used due to the CommonJS conversion used in Ava. I thought it could be useful to create an issue to track support for popular test frameworks? Let me know if that sounds like a sensible approach.
Tools to Update
Feedback welcome if alternative approaches are preferable too - I don't want to make more work than necessary, but it does also seem a useful thing to do so far as it isn't too much effort to track these (and in theory the modules support naturally in these projects should align with these directions).
The patterns encouraged by this package are awesome, but they are only as good as the tools that support them.
The use of
import.meta.urlin the analysis has limited support in build tools and test frameworks. For example in this project's own tests,import.meta.urlcan't be used due to the CommonJS conversion used in Ava. I thought it could be useful to create an issue to track support for popular test frameworks? Let me know if that sounds like a sensible approach.Tools to Update
import.meta.urlis not supported in CJSFeedback welcome if alternative approaches are preferable too - I don't want to make more work than necessary, but it does also seem a useful thing to do so far as it isn't too much effort to track these (and in theory the modules support naturally in these projects should align with these directions).