Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 23b0fe9

Browse files
test: add shim for node-forge
Fixes #382
1 parent 486fb1f commit 23b0fe9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.aegir.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
'use strict'
22

3+
const path = require('path')
4+
35
module.exports = {
46
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+
},
515
externals: {
616
fs: '{}',
717
mkdirp: '{}'

0 commit comments

Comments
 (0)