rollup-plugin-import-assert
Advanced tools
Comparing version
@@ -5,2 +5,6 @@ # Changelog | ||
### [2.1.2](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v2.1.0...v2.1.2) (2022-10-27) | ||
### [2.1.1](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v2.1.0...v2.1.1) (2022-10-27) | ||
## [2.1.0](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v1.1.2...v2.1.0) (2022-01-05) | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "rollup-plugin-import-assert", | ||
"version": "2.1.0", | ||
"version": "2.1.2", | ||
"description": "A Rollup plugin to add import assertion behavior and syntax support", | ||
@@ -5,0 +5,0 @@ "main": "dist/import-assert.js", |
@@ -110,10 +110,10 @@ import path from 'path'; | ||
/** Return the new data and map it back to the original source file */ | ||
return { code, mappings: id }; | ||
/** Return the new data */ | ||
return { code, map: {mappings: ""} }; | ||
} | ||
/** If none of the above exists, just continue as normal */ | ||
return { code }; | ||
return { code, map: null }; | ||
} | ||
} | ||
} |
24008
0.84%