MystenLabs/sui

ConnectButton error: '_delete' has already been declared

VictorBlockchain opened this issue · 1 comments

import { ConnectButton } from '@mysten/dapp-kit';
ConnectButton error

Steps to Reproduce Issue

install '@mysten/dapp-kit', @Vanilla-Extract is a dependency and you'll get this error
worked fine with wallet-kit...

./node_modules/@vanilla-extract/css/node_modules/lru-cache/dist/esm/index.js
Module parse failed: Identifier '_delete' has already been declared (1402:9)
| }
| }

function _delete(k, reason) {
| var _class_private_field_get1;
| var _this, _this1, _ref, _this2, _this3, _ref1;

Hi @VictorBlockchain! Do you have a minimal reproduction you could share? I do see some issues with our build pipeline that result in vanilla-extract dependencies being included when they shouldn't, so let me take a stab at fixing that and I'll report back.