Skip to content

Tracking support of import attributes across major tools in the ecosystem

Notifications You must be signed in to change notification settings

nicolo-ribaudo/import-attributes-ecosystem-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Import Attributes support in tools

Tools:

Engines:

  • V8 (Chrome, Edge, Note.js, Deno)
  • SpiderMonkey (Firefox)
  • JSC (Safari)
  • XS

Notes:

  • V8 currently supports the assert syntax, whose removal is being investigated.
  • Bun uses JSC, but supports import attributes by internally transpiling them.

Webpack

Supported since version 5.48.0; make sure that its acorn-import-assertions dependency is at least version 1.9.0.

Run npm ci and npm run webpack; it will bundle src/ to dist/out.webpack.js

Rollup

Supported since v3.22.1.

Run npm ci and npm run rollup; it will bundle src/ to dist/out.rollup.js

About

Tracking support of import attributes across major tools in the ecosystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published