uhr/build-config/rollup.config.js-complete.js

24 lines
513 B
JavaScript
Raw Permalink Normal View History

import {terser} from 'rollup-plugin-terser';
export default {
external: [
'jquery',
'jquery-ui',
'jquery.cookie'
],
input: 'build-config/entrypoints/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()]
}
]
}