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: [