dayjs-plugin-utc
Version:
utc plugin for dayjs
24 lines (21 loc) • 422 B
JavaScript
const path = require('path')
const config = {
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'dayjs-plugin-utc.min.js',
libraryTarget: 'umd',
globalObject: 'this',
library: 'dayjsPluginUTC'
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader'
}
]
}
}
module.exports = config