Open haltman-at opened 2 years ago
Oh, I didn't know that this was ever resolved. I talked to @gnidan when @lsqproduction did the release (because her file paths were present in stacktraces) and he said that "it is a known issue".
Oh, I didn't know that this was ever resolved. I talked to @gnidan when @lsqproduction did the release (because her file paths were present in stacktraces) and he said that "it is a known issue".
Didn't @michaeljohnbennett have a solution for this? Thought it got merged and everything (unless I'm just mistaken)
Yes, the problem was solved, but now it appears to have been unsolved. Presumably it's all related to @michaeljohnbennett's work on the debugger's webpack settings.
OK, looking into this a bit, it seems like this ought to be possible by not using devtool
, and instead using the SourceMapDevToolPlugin
; specifically the fileContext
option. Yet for some reason, it seems like none of the options I pass to this plugin are being respected! No idea what's going wrong here...
Note that this is related to the fact that we don't have a fully automated release process. Also a possible interim fix could be for whomever's doing the release do to it from a /Users/truffle
path.
Issue
E.g., this stacktrace I got on my machine:
Notice the
/Users/leefaria/...
in there.I'm hoping there's some way to fix this by fiddling with the webpack settings?
Environment
truffle version
): 5.4.30