[Pkg-javascript-devel] Webpack 4 transition plan

Pirate Praveen praveen at onenetbeyond.org
Mon Jul 29 17:18:38 BST 2019


On 2019-07-28 17:44, Pirate Praveen wrote:
> On 2019, ജൂലൈ 28 9:32:27 PM IST, Pirate Praveen
> <praveen at onenetbeyond.org> wrote:
>> 
>> I think all reverse dependencies will need updating as "mode" seems
>> mandatory.
> 
> After adding options like this,
>     --entry index.js --output build/d3-force.js
> 
> 
> And adding mode: 'development', I could build node-d3-force.
> 
> For production mode I tried to just replace uglify-es with terser but
> that is not enough as uglifyjsOptions is terserOptions now. We will
> have to switch to terser-webpack-plugin.

webpack 4 is now available in experimental and I have started a wiki 
page to track this transition here 
https://wiki.debian.org/Javascript/Nodejs/Webpack4

Please check the packages listed there and help make them build with 
webpack 4.



More information about the Pkg-javascript-devel mailing list