DEV Community

Discussion on: Nested Dependencies in Frontend

Collapse
 
dakmor profile image
Thomas Allmer

thxxx :)

  1. yes "moving" the decision to the app itself can work in certain situations but it also "moves" more complexity to the app which is not ideal in many cases as well 🙈
  2. that is soooo true 😭 we experience it ourselves quite a lot as well... you can publish a "fork" like npmjs.com/package/@bundled-es-modu... but yeah that always comes with maintenance 🙈 I am afraid there is no simple way forward - all we can do is encouraging projects to adopt es modules. I think when node will support es modules a lot will change... it's going to happen - slowly but steadily...
  3. yeah actually we love that polyfill and we are building something that will use it - stay tuned 🤗
  4. yes, for now, we recommend import maps purely for development - production environment should still use a build for performance. We recommend our rollup setup which respects import maps while building your performance optimized files.
  5. yeah having no need for any build step while developing feels so freeing :)