Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esm: add support for JSON import assertion #40250

Commits on Nov 3, 2021

  1. esm: add support for JSON import assertion

    Remove V8 flag for import assertions, enabling support for the syntax;
    require the import assertion syntax for imports of JSON.
    
    Support import assertions in user loaders.
    
    Use both resolved module URL and import assertion type as the key for
    caching modules.
    
    Co-authored-by: Geoffrey Booth <[email protected]>
    aduh95 and GeoffreyBooth committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    788814a View commit details
    Browse the repository at this point in the history