deno.land / x / dayjs@v1.11.5 / build / rollup.config.js
123456789101112131415161718192021222324252627282930const 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 } }}
Version Info