Skip to content

Commit

Permalink
Add useDynamicImport option, stable baseUrl
Browse files Browse the repository at this point in the history
Split previously experimental into two stable options:

*   `useDynamicImport` — compile import statements into dynamic import
    expressions
*   `baseUrl` — resolve relative import specifiers from a given URL

This additionally fixes two bugs in the `'function-body'` output format:

*   `export * from 'a'` was not supported
*   `export {a as b}` was inverted

Closes GH-23.
Related-to GH-26.
Closes GH-30.
  • Loading branch information
wooorm authored Mar 24, 2021
1 parent ab58a46 commit 19fc777
Show file tree
Hide file tree
Showing 6 changed files with 366 additions and 257 deletions.
Loading

0 comments on commit 19fc777

Please sign in to comment.