antd-jalali-moment
Version:
Support for jalali dates and time for ant-design(antd)
16 lines (15 loc) • 451 B
JavaScript
const path = require('path');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
entry: "./antd-jalali-moment.js", // string | object | array
output: {
path: path.resolve(__dirname, "dist"), // string
filename: "jalali-moment.browser.js", // string
library: "moment", // string,
},
plugins: [
// new UglifyJSPlugin()
],
mode: 'production',
devtool: 'source-map'
}