[Pkg-javascript-devel] Removing babel 6: Call for help

Xavier yadd at debian.org
Mon May 11 21:03:31 BST 2020



Le 11/05/2020 à 21:48, Xavier a écrit :
> Le 11/05/2020 à 14:43, Pirate Praveen a écrit :
>>
>>
>> On Mon, May 11, 2020 at 2:27 pm, Xavier <yadd at debian.org> wrote:
>>> I fixed partially node-matrix-js-sdk but I failed to configure
>>> debian/webpack.config.js. So node-* is ready but not libjs-*
>>> Can someone take a look ?
>>
>> Did you include this patch?
>>
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933662
> 
> Yes, but the problem is to replace browserify by webpack, build needs a
> tsc loader for webpack

upstream browser-build:

mkdirp dist && browserify -d src/browser-index.js \
       -p [ tsify -p ./tsconfig.json ] \
       -t [ babelify --sourceMaps=inline \
       --presets [ @babel/preset-env @babel/preset-typescript ] ] \
     | exorcist dist/browser-matrix.js.map > dist/browser-matrix.js

I tried to reproduce this in debian/webpack.config.js but it fails.
Anyway I pushed my work to salsa



More information about the Pkg-javascript-devel mailing list