Skip to content

Commit

Permalink
Revert to umd rollup type and hebcal__core name to fix previous break…
Browse files Browse the repository at this point in the history
…ing change (#17).

@hebcal/core 3.0 will reintroduce the name-breaking change and iife bundle type.
  • Loading branch information
mjradwin committed Dec 28, 2020
1 parent dd8b37b commit 6029e6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/core",
"version": "2.12.0",
"version": "2.13.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
"Eyal Schachter (https://github.com/Scimonster)",
Expand Down
10 changes: 4 additions & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,17 @@ export default [
output: [
{
file: pkg.browser,
format: 'iife',
name: 'hebcal',
format: 'umd',
name: 'hebcal__core',
indent: false,
banner: '/*! ' + pkg.name + ' v' + pkg.version + ' */',
footer: 'var hebcal__core = hebcal;',
},
{
file: 'dist/bundle.min.js',
format: 'iife',
name: 'hebcal',
format: 'umd',
name: 'hebcal__core',
plugins: [terser()],
banner: '/*! ' + pkg.name + ' v' + pkg.version + ' */',
footer: 'var hebcal__core = hebcal;',
},
],
plugins: [
Expand Down

0 comments on commit 6029e6b

Please sign in to comment.