News for hackers. Stuff that matters.
Re:First look: adding type annotations to JavaScript by spion on Thursday March 10, 2022 @10:55AM (#30628312)
Of course, using a bundler means you'll face several other unpleasant realities. Like

  - what about tests, how do they run
  - source maps support in node being 3rd party and unbearably slow for any medium sized project 
    - edit: this has been fixed somewhat recently https://nodejs.medium.com/source-maps-in-node-js-482872b56116 
    - only the 3rd party bit, not the slowness bit https://github.com/nodejs/node/issues/41541
    - also applicable when not bundling, albiet fewer reprcutions to turning off source maps
  - poor native (C++) modules support in bundlers 
  - modules with really dynamic `require` statements being supported at varying levels by varying bundlers

There are no comments on this comment yet.