Skip to content

Commit

Permalink
fix: remove iltorb dep, build for node v22.9.0 (#2273)
Browse files Browse the repository at this point in the history
* fix: build for node v22.9.0

* chore: fix dep-check
  • Loading branch information
SgtPooki authored Nov 7, 2024
1 parent edf14c6 commit 9ba4559
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 721 deletions.
6 changes: 6 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* @see https://alchemy.com/blog/how-to-polyfill-node-core-modules-in-webpack-5
*/
import webpack from 'webpack'
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'

const PURE_ESM_MODULES = [
'ipfs-geoip',
Expand Down Expand Up @@ -89,6 +90,11 @@ function webpackOverride (config) {
new webpack.ProvidePlugin({
process: 'process/browser',
Buffer: ['buffer', 'Buffer']
}),
new BundleAnalyzerPlugin({
generateStatsFile: true,
analyzerMode: 'disabled',
openAnalyzer: false
})
])

Expand Down
Loading

0 comments on commit 9ba4559

Please sign in to comment.