Skip to content

Commit

Permalink
chore(cli): upgrade esbuild version (#2960)
Browse files Browse the repository at this point in the history
* chore(cli): upgrade esbuild version

* chore: changeset
  • Loading branch information
tmm authored Aug 31, 2023
1 parent 8c3889f commit 5d4c459
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-kiwis-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Updated esbuild version
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"detect-package-manager": "^2.0.1",
"dotenv": "^16.0.3",
"dotenv-expand": "^10.0.0",
"esbuild": "0.15.13",
"esbuild": "0.19.0",
"execa": "^6.1.0",
"find-up": "^6.3.0",
"fs-extra": "^10.1.0",
Expand Down
6 changes: 0 additions & 6 deletions packages/cli/src/utils/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ export async function resolveConfig({
}: ResolveConfig): Promise<MaybeArray<Config>> {
const res = await bundleRequire({
filepath: configPath,
...(process.env.NODE_ENV === 'test'
? {
// FIXME: Workaround https://github.com/egoist/bundle-require/issues/6
require: (id: string) => import(id),
}
: {}),
})
let config = res.mod.default
if (config.default) config = config.default
Expand Down

1 comment on commit 5d4c459

@vercel
Copy link

@vercel vercel bot commented on 5d4c459 Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.