diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-16 15:50:17 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-16 15:50:17 -0300 |
commit | afb91f0dc06294d9a1fdb30c6821eaeed71ae427 (patch) | |
tree | c94d50b4fe93a19737487a9bac17409a2ce8d55a /packages/web-util | |
parent | 54d5cb4584e8c0378fe09ee4c9b8e7760ff293af (diff) | |
download | wallet-core-afb91f0dc06294d9a1fdb30c6821eaeed71ae427.tar.xz |
resolve -> path
Diffstat (limited to 'packages/web-util')
-rwxr-xr-x | packages/web-util/build.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web-util/build.mjs b/packages/web-util/build.mjs index 6320b4937..1dffe96e4 100755 --- a/packages/web-util/build.mjs +++ b/packages/web-util/build.mjs @@ -63,7 +63,7 @@ const nativeNodeModulesPlugin = { // If a ".node" file is imported within a module in the "file" namespace, resolve // it to an absolute path and put it into the "node-file" virtual namespace. build.onResolve({ filter: /\.node$/, namespace: 'file' }, args => ({ - path: require.resolve(args.path, { paths: [args.resolveDir] }), + path: path.resolve(args.path, { paths: [args.resolveDir] }), namespace: 'node-file', })) |