1
0
mirror of https://github.com/flarum/core.git synced 2025-07-15 13:56:23 +02:00

Switch from 'moment' to 'dayjs' (#2219)

* Switch from 'moment' to 'dayjs'

* Use humanize code from duration plugin (without actual plugin) for time lapsed events
This commit is contained in:
David Sevilla Martín
2020-06-30 20:33:00 -04:00
committed by GitHub
parent 77a1a3afda
commit e408f98104
10 changed files with 31 additions and 29 deletions

View File

@ -1,12 +1,8 @@
const config = require('flarum-webpack-config');
const webpack = require('webpack');
const merge = require('webpack-merge');
module.exports = merge(config(), {
output: {
library: 'flarum.core'
},
plugins: [
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
]
});