[Pkg-javascript-devel] Webpack 4 transition plan

Pirate Praveen praveen at onenetbeyond.org
Sun Jul 28 18:44:28 BST 2019



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.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list