import {terser} from 'rollup-plugin-terser'; export default { external: [ 'jquery', 'jquery-ui', 'jquery.cookie' ], input: 'src/main-baselangs.js', output: [ { dir: 'dist', entryFileNames: 'jquery.uhr.baselangs.js', format: 'cjs' }, { dir: 'dist', entryFileNames: 'jquery.uhr.baselangs.min.js', format: 'cjs', plugins: [terser()] } ] }