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.
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.
Well sure. But the error messages don’t point to those, which was what had me chuckling about this meme.
They would point to the right lines if source maps were included in the build.
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.
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.