Skip to content

Commit

Permalink
Package.json - Added browser config for fs
Browse files Browse the repository at this point in the history
So as to avoid webpack warnings being thrown when compiling an app with messageformat in, we need to specify a browser definition for fs.

From the creator of weback to jade:
pugjs/pug#1644
  • Loading branch information
JamesHenry authored and ashensis committed Jan 10, 2016
1 parent 7dbfc32 commit 543e5bc
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
Expand Up @@ -51,5 +51,8 @@
},
"scripts": {
"test": "make test"
},
"browser": {
"fs": false
}
}

0 comments on commit 543e5bc

Please sign in to comment.