I want to reduce the size of moment-timezone webpack-bundle.
The following code I have written in app.js file.
window.moment = require('moment-timezone');window.moment.tz.load({
"version": "2021a",
"zones": ["Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6",
],
"links": ['Asia/Calcutta|Asia/Kolkata'] });
console.log(window.moment.tz.names());
Following Output I have got in console.
But I was expecting output only Asia/Calcutta|Asia/Kolkata