All notable changes to rollup-plugin-import-maps will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix transforming of specifier which starts with
/
- Fixed module specifier with leading slash was resolved as filesystem path, now it is changed to be resolved as url pathname and won't be transformed.
- Fixed resolving of dynamic import specifier which starts with
./
../
or/
options.srcText
to use text as importmap sourceoptions.transformingReport
to save transforming report as a fileoptions.noTransforming
to only mark specifiers defined in importmap as external without transformingoptions.exclude
to skip specifiers from resolving
- dropped use of
Buffer
asoptions.srcObject
- fixed resolving of protocol-relative target specifier like
//example.com/foo.js
- use
Buffer
asoptions.srcObject
is deprected
- speicifer transforming of import statement, export statement and dynamic import