Skip to content

v13.0.0

Compare
Choose a tag to compare
@dmail dmail released this 12 Mar 16:56
fe283e2
  • Autogenerate mappings for import without extension: Read main file and imported files recursively to find extensionless import and generate the mappings.
  • Update package exports conditions resolution to match Node.js behaviour
  • getImportMapFromNodeModules renamed getImportMapFromProjectFiles
  • generateImportMapForProject renamed writeImportMapFile
  • Add new param: dev
  • Add new param: runtime
  • Add support for importmap field in package.json (can be an object or string leading to a file)
  • Remove param projectPackageDevDependenciesIncluded (replaced by dev)
  • Remove param packageExportsPreference (replaced by dev + runtime)
  • Remove support for imports field in package.json (now it is ignored)
  • Add new param removeUnusedMappings (remove mappings generated from package.json files but not actually used in the codebase)
  • Add new param moduleFormat (no need to document this one, I doubt it will ever be useful to someone)
  • Update documentation