uhr/rollup.config-langs.js

24 lines
493 B
JavaScript
Raw Normal View History

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