You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module.exports={plugins: [// To strip all locales except “en”newMomentLocalesPlugin(),// Or: To strip all locales except “en”, “es-us” and “ru”// (“en” is built into Moment and can’t be removed)newMomentLocalesPlugin({localesToKeep: ['es-us','ru'],}),],};
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Easily remove unused Moment.js locales when building with webpack.
https://www.npmjs.com/package/moment-locales-webpack-plugin
What does the proposed API of configuration look like?
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
The text was updated successfully, but these errors were encountered: