config.plugins.push(new webpack.ProvidePlugin({
    moment: "moment",
    "window.moment": "moment"
}));