Skip to content

Support import.meta.hot

Compare
Choose a tag to compare
@Julien-R44 Julien-R44 released this 01 Apr 14:03

Changes

We have a cache system for the Module Importer and Module Expressions to avoid re-importing the same file several times.

Now, if ever import.meta.hot is defined, then this cache will not be used and the file constantly re-imported, allowing the use of Hot module reloading libraries like Hot-Hook. See #62

Commits

  • chore: update dependencies (468df8f)
  • chore: migrate to release-it (e67f821)
  • refactor: keep conditionals checks inline (4efabc8)
  • feat: import.meta.hot support (bfe649e)