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

Commit 3ade340

Browse files
authoredApr 4, 2022
fix: add fs and go-ipfs to browser ignores (#451)
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.
1 parent 119aa62 commit 3ade340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"scripts": {
148148
"clean": "rimraf /tmp/js-ipfs /tmp/go-ipfs ./go-libp2p-relay-daemon dist types",
149149
"lint": "aegir lint",
150-
"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'",
150+
"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'",
151151
"release": "semantic-release",
152152
"postinstall": "cross-env node ./scripts/setup-libp2p-relay-daemon.js",
153153
"pretest": "aegir build --esm-tests",

0 commit comments

Comments
 (0)
This repository has been archived.