Skip to content

Commit

Permalink
Remove ES5 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Apr 13, 2024
1 parent d962bf8 commit 1327984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
21 changes: 1 addition & 20 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 1327984

Please sign in to comment.