[Pkg-javascript-devel] Bug#1012130: Bug#1012130: node-source-map: Browser bundle unusable
Pirate Praveen
praveen at onenetbeyond.org
Mon May 30 20:01:42 BST 2022
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
More information about the Pkg-javascript-devel
mailing list