Is it possible to get Wrangler to reference source file names, not compiled ones, when error'ing?

See screenshot. This makes it quite hard to debug since I don't know what file the error happens in as it references compiled files (e.g. /.wrangler/tmp/dev-BjjrCX/index.js not my/original/file.js). Thanks.
No description
6 Replies
Cyb3r-Jak3
Cyb3r-Jak35mo ago
If you add minify=false to your wrangler file then it should show the actual file paths.
Mitya
Mitya5mo ago
That doesn't seem to work. I've tried adding minify = false to both the top part of the TOML file and under [vars], with the same result. I'm still getting errors referencing compiled files. @Cyb3r-Jok3 any further thoughts here? This doesn't seem to work, unless I'm somehow adding minify to the wrong place.
Cyb3r-Jak3
Cyb3r-Jak35mo ago
Do you have any custom build settings for your worker? Only other thing I could think of.
Mitya
Mitya5mo ago
Nope, not that I know of. My setup is straight outta the CF tutorial on setting up workers, nothing funky going on. Guess I'll raise a bug Though just before I do, could you clarify where in the TOML to add the option - under [vars] or top-level?
Cyb3r-Jak3
Cyb3r-Jak35mo ago
It would be top level
Mitya
Mitya5mo ago
Yeah... weird.
No description
No description