• marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Oh, they are included in the build. But I still get error messages that don’t actually point to the line in the TS source file sometimes.

      Maybe I have something configured wrong - TS projects always include a more config files of different kinds than I see in other languages I work in - but it happens.

      • MotoAsh@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        If it’s only rarely, it might just be some dumb caching issue, or it can be a build ordering issue. Like you have to be careful in Rollup configs or some tasks will mangle the code before a sourcemap is generated. Otherwise iirc it may have to be turned on in browser settings, though hopefully they’re on by default these days.