From e822511be48626b5c197ce69c0810d827454e7f9 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 23 Jun 2021 16:29:53 -0600 Subject: [PATCH] An initial rollup config --- rollup.config.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rollup.config.js diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000000..2cdd812074 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,20 @@ +/** + * EGroupware - Rollup config file + * + * @link https://www.egroupware.org + * @copyright (c) 2021 by Nathan Gray + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * + * @see http://rollupjs.org/guide/en + * @type {import('rollup').RollupOptions} + */ + + +export default [{ + // Main bundle + input: "./api/js/jsapi/egw.js", + output: { + file: "./api/js/jsapi.min.js", + format: "iife" + } +}]; \ No newline at end of file