Skip to content

Commit

Permalink
Remove "browser" from package.json to improve compatibility with webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jan 24, 2021
1 parent a658a65 commit 37d1aab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/core",
"version": "3.2.0",
"version": "3.3.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
"Eyal Schachter (https://github.com/Scimonster)",
Expand All @@ -21,9 +21,11 @@
],
"description": "A perpetual Jewish Calendar API",
"main": "./dist/index.js",
"browser": "./dist/bundle.js",
"module": "./dist/index.mjs",
"typings": "hebcal.d.ts",
"engines": {
"node": ">=10.21.0"
},
"repository": {
"type": "git",
"url": "https://github.com/hebcal/hebcal-es6.git"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default [
input: 'src/index.js',
output: [
{
file: pkg.browser,
file: 'dist/bundle.js',
format: 'iife',
name: 'hebcal',
indent: false,
Expand Down

0 comments on commit 37d1aab

Please sign in to comment.