Skip to content

Commit

Permalink
fix: add browser field to package.json
Browse files Browse the repository at this point in the history
You can prevent a module from being loaded into a bundle by specifying a value of false for that key. This is useful if you know certain codepaths will not be executed client side but find it awkward to split up or change the code structure.
  • Loading branch information
benmccann committed Sep 19, 2023
1 parent 71a354b commit 7db4e32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"author": "Sebastian Pekarek <mail@sebbo.net>",
"browser": {
"fs": false
},
"bugs": {
"url": "http://github.com/sebbo2002/ical-generator/issues"
},
Expand Down

0 comments on commit 7db4e32

Please sign in to comment.