Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__filename breaks in Web #34

Closed
DougAnderson444 opened this issue Oct 1, 2021 · 1 comment
Closed

__filename breaks in Web #34

DougAnderson444 opened this issue Oct 1, 2021 · 1 comment
Assignees

Comments

@DougAnderson444
Copy link

https://github.com/redstone-finance/redstone-smartcontracts/blob/8b61a4b6897056ce2eb1fc77c6600b14a9f83853/src/core/modules/impl/DefaultCreateContract.ts#L5

Trying to bundle this line using Vite breaks, since __filename i a nodejs feature, it breaks in the browser.

ppedziwiatr added a commit that referenced this issue Oct 2, 2021
@ppedziwiatr ppedziwiatr self-assigned this Oct 2, 2021
@ppedziwiatr
Copy link
Contributor

Hi @DougAnderson444 , thanks for posting this issue. It should be now fixed in the 0.3.10-alpha.13 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants