[Pkg-javascript-devel] Bug#933592: Bug#933592: Processed: Webpack 4 transition: node-node-forge fail to build with webpack 4
Pirate Praveen
praveen at onenetbeyond.org
Thu Aug 1 20:52:27 BST 2019
On 2019-08-01 01:43, Jonas Smedegaard wrote:
> control: tags -1 =
>
> Quoting Debian Bug Tracking System (2019-07-31 16:45:05)
>> Processing control commands:
>>
>> > tags -1 patch
>
> Please actually provide a patch, or at least describe in human words
> what is the fix - not simply telling to go dig out a solution within
> other packages.
The exact commit was linked in transition wiki page which was also
shared in the original message. Sorry for not sharing it directly in the
bug report.
https://salsa.debian.org/js-team/node-axios/blob/5282cb7f2ab8cbec1e90dbce11cb63882377fda8/debian/patches/use-webpack4.patch
https://salsa.debian.org/js-team/node-source-map/commit/3d82f682ea09561a95d4413a04c8090d563bae99
"plugin" field should be replaced with "optimization" field. Or you can
also just use 'production' mode which minimizes by default.
See
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=933662;filename=node-matrix-js-sdk-0.9.2.debian.patch.txt;msg=5
(remove "plugin" field and add "mode": production).
More information about the Pkg-javascript-devel
mailing list