-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .js extension to webpack.ouput.filename to handle non js extension #127
Conversation
…ns in particular .ts files
I've managed to generate source maps for typescript project without patching. Check this #109 (comment) |
I'm going to close this because I don't think it's necessary to do this. As @sshev and @d3viant0ne pointed out there are already ways of doing this without this patch. Feel free to comment otherwise and I can reopen if necessary |
Commenting otherwise...the file name used by the karma-webpack plugin to generate code should be between the plugin and webpack. This is a very confusing issue, judging by the number of people that have a problem with it. |
I also agree that this issue is very frustrating. I spent hours to track down the cause and find the solution. In the end it prevents the |
I second @SPSpwetter and @giniedp and disagree with @MikaAK 's decision above. The so-called "solution" is more of a workaround. I don't know the details of this code base but IMHO the solution in this PR looks righter to me. |
@MikaAK, also "commenting otherwise" here as well. If the PR solves the problem as it says it does (I have not personally verified it, but it looks like it adds up), then IMO, I think it really should be merged. I can't say that I understand your explanation re: your decision to close the PR based on there being "other ways of doing this without the patch." Is your expectation that developers should go searching through comment after comment in multiple Github issue threads to come up with a work-around solution to this common use case? I'm hoping that that is not the bar being set here. Overall, I'd echo what @giniedp said 100%. His points about hours of needless searching for a solution (with no mention in official documentation) plus the inability to use In addition, AFAICT, the PR to get this done is a set of trivial changes to 4 lines of code. Are there any actual drawbacks to these changes that I'm not seeing? To conclude, I'd like to request that you consider reopening this PR for merging and also say thank you for all the (often thankless) time you put in to maintain it. |
This pull request rejection is unbelievable. |
In particular when we use typescript loader, webpack doesn't insert inlined source maps into output file because it is not .js extension