Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 30 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tslib": "^2.7.0",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"webpack": "^5.95.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"abitype": "^1.0.7",
"permissionless": "^0.2.21",
"viem": "^2.21.22"
},
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"rootDirs": [
"src"
],
"outDir": "dist"
"outDir": "dist",
"sourceMap": true,
"declarationMap": false,
}
}
4 changes: 2 additions & 2 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const base = async (env?: Partial<WebpackEnvParams>): Promise<Configuration> =>
)
}
// change node modules to browser modules according to packageJson.browser mapping
// eslint-disable-next-line guard-for-in
const browserModuleMapping = PackageJson.browser as { [key: string]: string }
// eslint-disable-next-line guard-for-in
for (const nodeReference in browserModuleMapping) {
Expand All @@ -80,7 +79,8 @@ const base = async (env?: Partial<WebpackEnvParams>): Promise<Configuration> =>
},
bail: Boolean(isProduction),
mode: env?.mode || 'development',
devtool: isProduction ? 'source-map' : 'cheap-module-source-map',
// disable for production until revised
devtool: isProduction ? false : 'cheap-module-source-map',
entry,
output: {
path,
Expand Down
Loading