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