Skip to content

Commit

Permalink
Remove ES5 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Jun 9, 2024
1 parent 4597e46 commit 87673e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,11 @@
"ghpages": "npm run jsdoc && npm run validator && npm run recurtester"
},
"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
19 changes: 0 additions & 19 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,6 @@ export default [{
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: [
babel({ babelHelpers: 'bundled', presets: ['@babel/preset-env'] })
Expand Down

0 comments on commit 87673e7

Please sign in to comment.