Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Axel Rauschmayer
@rauschma@fosstodon.org  ·  activity timestamp last week

Upcoming Node.js feature: Package import specifiers (*) can start with #/
https://github.com/nodejs/node/pull/60864

"imports": {
"#/*": "./*"
}

Why is this useful? Gives you more naming options. Previous solution (e.g.): " #root/*"

(*) https://exploringjs.com/js/book/ch_modules.html#package-imports

#NodeJS #JavaScript

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login