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: use dynamic import directly without require.resolve #345

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

JounQin
Copy link
Contributor

@JounQin JounQin commented Nov 10, 2023

close #336
close #344

@JounQin
Copy link
Contributor Author

JounQin commented Nov 10, 2023

image

Some entries are not exported, should we export then? Or we still use the absolute path hack?

@ai

@ai
Copy link
Owner

ai commented Nov 11, 2023

Some entries are not exported, should we export then?

I think we should not need @size-limit/esbuild/convert-config export at all. This is very simple function. Just replace it.

@ai
Copy link
Owner

ai commented Nov 11, 2023

If you need some bigger function, I can export it.

@ai ai merged commit 67a52d2 into ai:main Nov 11, 2023
0 of 2 checks passed
@ai
Copy link
Owner

ai commented Nov 11, 2023

Thanks. Released in 10.0.3.

@JounQin
Copy link
Contributor Author

JounQin commented Nov 11, 2023

Ah, I just realized that was my plugin throwing, actually the newer versions are not using the unexported entries now. So we'd better upgrade the test case dep versions.

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