Actualización

This commit is contained in:
Xes
2025-04-10 12:53:50 +02:00
parent f7a0ba2b2f
commit 2001ceddea
39284 changed files with 991962 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import { terser } from "rollup-plugin-terser";
import copy from 'rollup-plugin-copy'
import { version } from './package.json';
import babel from '@rollup/plugin-babel';
const banner = `/*!
* jquery-timepicker v${version} - A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation.
* Copyright (c) 2020 Jon Thornton - https://www.jonthornton.com/jquery-timepicker/
* License: MIT
*/`;
export default {
input: 'src/jquery.timepicker.js',
output: [
{
file: 'jquery.timepicker.js',
format: 'iife',
banner: banner
},
{
file: 'jquery.timepicker.min.js',
format: 'iife',
plugins: [terser()]
}
],
plugins: [
copy({
targets: [
{ src: 'src/static/jquery.timepicker.css', dest: './' },
{ src: 'src/static/jquery.timepicker.css', dest: './', rename: 'jquery.timepicker.min.css' },
]
}),
babel({ babelHelpers: 'bundled' })
]
};