module-from-string
Advanced tools
Changelog
3.1.4 (2021-12-23)
import.meta.url
is incorrectly set to path instead of URL string in importFromString
.default
exports and the __esModule
marker to improve compatibility with Webpack and Node, which may cause some changes when transforming the code from ES modules to CommonJS modules.