Skip to content

Commit 49cbb9b

Browse files
committed
chore: fix up cborg breakage and reduced bundle size
1 parent c107144 commit 49cbb9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.aegir.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ const esbuild = {
1111
build.onResolve({ filter: /^stream$/ }, () => {
1212
return { path: require.resolve('readable-stream') }
1313
})
14+
build.onResolve({ filter: /^cborg$/ }, () => {
15+
// remove when https://github.com/evanw/esbuild/issues/187 is fixed
16+
return { path: require.resolve('cborg') }
17+
})
1418
}
1519
}
1620
]
@@ -26,7 +30,7 @@ module.exports = {
2630
}
2731
},
2832
build: {
29-
bundlesizeMax: '141kB',
33+
bundlesizeMax: '130kB',
3034
config: esbuild
3135
}
3236
}

0 commit comments

Comments
 (0)