dayjs
dayjs copied to clipboard
I need dayjs.min.js with localeData
How can I add the localeData plugin to the minified dayjs code?
Hi, you should import the plugin this way:
var localeData = require('dayjs/plugin/localeData')
dayjs.extend(localeData)