deno.land / x / dayjs@v1.11.5 / build / rollup.config.js

rollup.config.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const babel = require('rollup-plugin-babel')const { terser } = require('rollup-plugin-terser')
module.exports = (config) => { const { input, fileName, name } = config return { input: { input, external: [ 'dayjs' ], plugins: [ babel({ exclude: 'node_modules/**' }), terser() ] }, output: { file: fileName, format: 'umd', name: name || 'dayjs', globals: { dayjs: 'dayjs' }, compact: true } }}
dayjs

Version Info

Tagged at
a year ago