dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

I need dayjs.min.js with localeData

Open Gengot57 opened this issue 3 years ago • 1 comments

How can I add the localeData plugin to the minified dayjs code?

Gengot57 avatar May 31 '22 06:05 Gengot57

Hi, you should import the plugin this way:

var localeData = require('dayjs/plugin/localeData')
dayjs.extend(localeData)

Bykiev avatar Jun 30 '22 16:06 Bykiev