[Pkg-javascript-devel] Bug#1012130: Bug#1012130: node-source-map: Browser bundle unusable

Yadd yadd at debian.org
Mon May 30 20:33:50 BST 2022


Strangely --target node works

Le 30 mai 2022 21:01:42 GMT+02:00, Pirate Praveen <praveen at onenetbeyond.org> a écrit :
>
>
>On തി, മേയ് 30 2022 at 07:45:32 വൈകു +02:00:00 +02:00:00, Yadd <yadd at debian.org> wrote:
>> Package: node-source-map
>> Version: 0.7.0++dfsg2+really.0.6.1-10
>> Severity: serious
>> Tags: ftbfs
>> Justification: FTBFS
>> Control: affects -1 src:node-terser src:ruby-terser src:ruby-uglifier
>> 
>> Build with webpack 5 produces an unusable bundle. See for example
>> https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-terser/22213688/log.gz
>> 
>> Error is "self is not defined". This can be fixed using a --target
>> option.
>> 
>I tried with --target web, but that does not seem to work. Can you try?
>
>Also tried --mode production, and
>
>globalObject: 'this' in output section of webpack.config.js
>
>
>

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220530/ad87fbb7/attachment.htm>


More information about the Pkg-javascript-devel mailing list