<html><head></head><body>Strangely --target node works<br><br><div class="gmail_quote">Le 30 mai 2022 21:01:42 GMT+02:00, Pirate Praveen <praveen@onenetbeyond.org> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail"><br><br>On തി, മേയ് 30 2022 at 07:45:32 വൈകു +02:00:00 +02:00:00, Yadd <yadd@debian.org> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Package: node-source-map<br>Version: 0.7.0++dfsg2+really.0.6.1-10<br>Severity: serious<br>Tags: ftbfs<br>Justification: FTBFS<br>Control: affects -1 src:node-terser src:ruby-terser src:ruby-uglifier<br><br>Build with webpack 5 produces an unusable bundle. See for example<br><a href="https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-terser/22213688/log.gz">https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-terser/22213688/log.gz</a><br><br>Error is "self is not defined". This can be fixed using a --target<br>option.<br><br></blockquote>I tried with --target web, but that does not seem to work. Can you try?<br><br>Also tried --mode production, and<br><br>globalObject: 'this' in output section of webpack.config.js<br><br><br><br></pre></blockquote></div><div style='white-space: pre-wrap'><div class='k9mail-signature'>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</div></div></body></html>