Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 76c3495

Browse files
fix: use forge bundle for libp2p-crypto
1 parent c6ff576 commit 76c3495

File tree

3 files changed

+16
-29561
lines changed

3 files changed

+16
-29561
lines changed

.aegir.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
'use strict'
2+
3+
const path = require('path')
4+
5+
module.exports = {
6+
webpack: {
7+
resolve: {
8+
alias: {
9+
'node-forge': path.resolve(
10+
path.dirname(require.resolve('libp2p-crypto')),
11+
'../vendor/forge.bundle.js'
12+
)
13+
}
14+
}
15+
}
16+
}

package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@
4747
"babel-runtime": "^6.6.1",
4848
"peer-id": "^0.7.0"
4949
},
50-
"aegir": {
51-
"webpack": {
52-
"resolve": {
53-
"alias": {
54-
"node-forge": "../vendor/forge.bundle.js"
55-
}
56-
}
57-
}
58-
},
5950
"contributors": [
6051
"David Dias <daviddias.p@gmail.com>",
6152
"David Dias <mail@daviddias.me>",

0 commit comments

Comments
 (0)