Conversation
|
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
|
Can one of the admins verify this patch? |
2 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Would someone give me a response to this at any time? THX |
bajtos
left a comment
There was a problem hiding this comment.
Hello, thank you @dtomasi for the pull request and sorry for the long delay!
Could you please add a unit-test that's failing on the current 2.x branch and that will pass with your fix in place?
It makes me wonder, why is this fix needed at all?
As far as I understand the code in lib/compiler, this "excludedExtensions" map is used to filter out extensions registered in require.extensions. Are you saying that a source-map file extension.map is registered with require?
|
@slnode ok to test |
| '.json': '.json', | ||
| '.node': 'node', | ||
| '.map': '.map' | ||
| '.map': '.map', |
|
@bajtos Thanks for your response. Is a unit-test for this needed yet? |
|
@bajtos I cannot get any information about why theses 2 tests has failed. If you want me to change something at the code-base, let me know. |
|
@bajtos You are certainly busy, but I want to ask you to have a short review, merge and release this, because I and maybe other have to create workarounds to solve this problem. I would be very happy you could do this soon, because this problem affects a productive application in my case. Thanks and best regards |
|
@dtomasi sorry for the delay, I was on a vacation.
AFAICT, I added console logs to IIRC, the goal of this method is to convert
I don't want to land a change that's not well understood, because such changes usually increase the maintenance costs. As a workaround, until a proper fix is created and landed, you can fork |
|
@bajtos Hope you enjoyed your vacation :-)
I absolutely agree in that. I will have a look the next few days and try to provide a proper solution for that. |
|
@dtomasi hello, what's the status of this pull request? Are you still keen to work on this fix and get it finished? |
|
@bajtos Hello, sorry ... I have currently not status updates. Was too busy the last weeks to work on it and also need some time to plug in first. |
|
@bajtos Hopefully I can have a look next week. Sorry |
|
@dtomasi no worries, take your time 😄 |
|
@dtomasi Ping, are you still keen to get this pull request finished? Should we close it as abandoned? |
|
Can one of the admins verify this patch? |
|
@bajtos This branch has been working for us on our apps. If it is abandoned is there any chance this could be merged and the task of cleaning up the implementation be backlogged? |
|
@bajtos Sorry for the delay. I´m currently really busy at work. Cannot find some time to go on with this PR. Think we should close this as abandoned. |
Let's be realistic: if we backlog the cleanup then it will never happen. Considering the situation, I am ok to land this fix if somebody can add a unit-test to verify it. Can you @zbarbuto take over this work and write the unit-test? It should fail in the current 2.x branch and pass with the fix in place. I think the |
|
Closing in favour of #263 |
Description
If you are using loopback with typescript or any other javascript dialect, it would generate the .map files for the debugger. loopback-boot tries to load these files which ends up into a Syntax-Error.
Related issues
Checklist
guide