MS in CS specializing in Machine Learning (and Computational Perception and Robotics). Interested in Node.js, TypeScript, AWS, React, Brewing, DnD'ing. I ♥️ CDK and Serverless #AWSCommunityBuilder
For your resolve extensions... you list them in order of .js and then .ts... (which is the order that webpack looks for them in)... shouldn't you have .ts first?
I guess if you have a module with both .js and .ts extensions you have other problems anyways... so maybe it doesn't matter?
That would only matter if some directory had both js and ts, correct. I'm not supporting js because I think I might write some but because I'm webpacking node modules. In the unlikely event some module has both a js and ts file, I probably want to prioritize the js, as that's what the author intended.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For your resolve extensions... you list them in order of .js and then .ts... (which is the order that webpack looks for them in)... shouldn't you have .ts first?
I guess if you have a module with both .js and .ts extensions you have other problems anyways... so maybe it doesn't matter?
That would only matter if some directory had both js and ts, correct. I'm not supporting js because I think I might write some but because I'm webpacking node modules. In the unlikely event some module has both a js and ts file, I probably want to prioritize the js, as that's what the author intended.