A RollUp plugin for importing modules from URLs, paths, and bare specifiers using import maps.
npm install @shgysk8zer0/rollup-importnpm i everything you need in front-end code.- - -

!Node CI
!Lint Code Base





!node-current
!npm bundle size gzipped


!GitHub forks
!GitHub stars


- - -
- Code of Conduct
- Contributing
``bash`
npm i @shgysk8zer0/rollup-import
for importmap
- Map new Map([[specifier, value]]) for importmap
- Importing modules from URL and paths and "bare specifiers"
- Resolving import.meta.url and import.meta.resolve('path.ext')
- Import Attributes (import mod from 'specifier' with { type })
- 'css'
- 'json'
- 'bytes'
= 'text'Not yet supported
- import html from 'template.html' with { type: 'html' } - No spec yet and will have issues with TrustedTypes
- Parsing from