uhr/rollup.config-complete.js

24 lines
502 B
JavaScript
Raw Normal View History

import {terser} from 'rollup-plugin-terser';
export default {
external: [
'jquery',
'jquery-ui',
'jquery.cookie'
],
input: 'build-configs/js-complete.js',
output: [
{
dir: 'dist',
2021-02-24 13:45:07 +01:00
entryFileNames: 'jquery.uhr.complete.js',
format: 'cjs'
},
{
dir: 'dist',
2021-02-24 13:45:07 +01:00
entryFileNames: 'jquery.uhr.complete.min.js',
format: 'cjs',
plugins: [terser()]
}
]
}