From 899ceb66bb7391989d1798eccee72409a97bf643 Mon Sep 17 00:00:00 2001 From: Jonathan Pribesh Date: Wed, 22 Aug 2018 19:28:12 -0400 Subject: [PATCH] Adds prevents fs from attempting to load in browser This fixes issue with angular compilation (because of inability to edit webpack config) when this package is being used. --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1525d9a..09337b9 100644 --- a/package.json +++ b/package.json @@ -37,5 +37,8 @@ "test": "node test/all-tests.js" }, "homepage": "http://zaach.github.com/jsonlint/", - "optionalDependencies": {} + "optionalDependencies": {}, + "browser": { + "fs": false + } }