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

Fix handling of internal assets to eliminate the need for dist/dist #260

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

mainnet-pat
Copy link
Contributor

const moneroTs = require("../index");

the above statement while being totally unnecessary and wasteful also broke the import patterns in browser and node: the former expected "./index", the latter "../index". Also it did break the multithreading upgrade which I have explored recently.

Exposing HttpClient and some other submodules to the worker scope is just fine, it does not increase the dist size too.

@woodser woodser changed the base branch from master to v0.11.2 September 18, 2024 12:08
@woodser woodser merged commit f0e2b96 into woodser:v0.11.2 Sep 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants