From 13279844025bbee51ab09fa74a85ab967a0521db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Sun, 3 Dec 2023 17:14:52 +0100 Subject: [PATCH] Remove ES5 builds --- package.json | 5 +---- rollup.config.js | 21 +-------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 0018981f..bf96c230 100644 --- a/package.json +++ b/package.json @@ -62,14 +62,11 @@ "ghpages": "npm run jsdoc && npm run validator" }, "exports": { - "import": "./dist/ical.min.js", - "require": "./dist/ical.es5.min.cjs" + "import": "./dist/ical.min.js" }, "files": [ "dist/ical.js", "dist/ical.min.js", - "dist/ical.es5.cjs", - "dist/ical.es5.min.cjs", "lib/ical/*.js" ], "mocha": { diff --git a/rollup.config.js b/rollup.config.js index ce5181e1..9196dcd3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -27,26 +27,7 @@ export default [{ banner: LICENSE, format: 'es', exports: 'default', - plugins: [terser(TERSER_OPTIONS)] - } - ] -}, { - input: 'lib/ical/module.js', - output: [ - { - file: 'dist/ical.es5.cjs', - exports: 'default', - name: 'ICAL', - format: 'umd', - banner: LICENSE, - }, - { - file: 'dist/ical.es5.min.cjs', - exports: 'default', - name: 'ICAL', - format: 'umd', - banner: LICENSE, - plugins: [terser(TERSER_OPTIONS)], + plugins: [terser()] } ], plugins: [