Open chancancode opened 8 months ago
It seems like we need to:
./node_modules/.embroider
../../..
)Unfortunately I am not sure I have all of the inner workings in my head to fix this properly. I tried patching a few obvious spots I found but that caused things to not resolve properly. I don't think this is fundamentally unsolvable or even very difficult, but there are just enough implicitly encoded assumptions scattered throughout that makes it a bit tricky for the uninitiated.
Probably faster for someone else to do this, but also happy to pair and learn.
These kind of stuff gets into the development build as the module ids. We are also leaking the users's local path into the build. (In addition, there is also #1592.)
As a best practice, webpack suggests that we avoid doing these things as much as possible.
As far as I can tell, this does not affect prod builds, but it is very hard to tell if it actually got used as an implicit input to the process and just didn't surface in literal/verbatim form