Skip to content

Commit

Permalink
Ignore http and https modules in Browserify build
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Oct 9, 2019
1 parent 948b404 commit a8bd36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"license": "MIT",
"scripts": {
"dist": "yarn browserify && yarn doc",
"browserify": "browserify browser-exports.js -i node-fetch -o dist/nearlib.js && browserify browser-exports.js -i node-fetch -g uglifyify -o dist/nearlib.min.js",
"browserify": "browserify browser-exports.js -i node-fetch -i http -i https -o dist/nearlib.js && browserify browser-exports.js -i node-fetch -g uglifyify -o dist/nearlib.min.js",
"prebrowserify": "yarn build",
"prepublish": "not-in-install && (yarn build && yarn browserify) || in-install",
"compile": "tsc -p ./tsconfig.json",
Expand Down

0 comments on commit a8bd36a

Please sign in to comment.