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

2022-05-30 Thread Yadd
Strangely --target node works

Le 30 mai 2022 21:01:42 GMT+02:00, Pirate Praveen  a 
écrit :
>
>
>On തി, മേയ് 30 2022 at 07:45:32 വൈകു +02:00:00 +02:00:00, Yadd 
> 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é.

Bug#1012130: node-source-map: Browser bundle unusable

2022-05-30 Thread Yadd
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.