Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: add fs and go-ipfs to browser ignores (#451)
Browse files Browse the repository at this point in the history
We add execa to the browser ignores but we need to add fs and go-ipfs as well.

We can revert this once we drop CJS support since we're changing the package.json generated by ipjs and with just ESM we won't need ipjs any more.
  • Loading branch information
achingbrain authored Apr 4, 2022
1 parent 119aa62 commit 3ade340
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 @@ -147,7 +147,7 @@
"scripts": {
"clean": "rimraf /tmp/js-ipfs /tmp/go-ipfs ./go-libp2p-relay-daemon dist types",
"lint": "aegir lint",
"build": "aegir build --esm-tests && cp -R types scripts bin test src .aegir.cjs dist && cp bin/package.json dist/src && cp bin/package.json dist/test && npx json -I -f dist/package.json -e 'this.browser.execa=false'",
"build": "aegir build --esm-tests && cp -R types scripts bin test src .aegir.cjs dist && cp bin/package.json dist/src && cp bin/package.json dist/test && npx json -I -f dist/package.json -e 'this.browser.execa=false; this.browser.fs=false; this.browser[\"go-ipfs\"]=false'",
"release": "semantic-release",
"postinstall": "cross-env node ./scripts/setup-libp2p-relay-daemon.js",
"pretest": "aegir build --esm-tests",
Expand Down

0 comments on commit 3ade340

Please sign in to comment.