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

[Bug]: loadEnv is not exported from @rsbuild/core #2864

Closed
lamualfa opened this issue Jul 10, 2024 · 4 comments
Closed

[Bug]: loadEnv is not exported from @rsbuild/core #2864

lamualfa opened this issue Jul 10, 2024 · 4 comments
Labels
🐞 bug Something isn't working

Comments

@lamualfa
Copy link

lamualfa commented Jul 10, 2024

Version

node: 18.19.1
typescript: 4.9.5
@rsbuild/core: 1.0.0

Details

loadEnv is not exported in 1.0.0, but works fine in v0.7.9. Is there any breaking changes for loadEnv? I can't find any in the releases page.

Reproduce Steps

image

@lamualfa lamualfa added the 🐞 bug Something isn't working label Jul 10, 2024
@chenjiahan
Copy link
Member

@rsbuild/core: 1.0.0 is a deprecated version, please use another version

@lamualfa
Copy link
Author

@chenjiahan Ok, it's work. Thanks.

I think the team should deprecated it manually using npm deprecate. Or in hardcore way unpublish the v1.0.0.

@chenjiahan
Copy link
Member

It was been deprecated by npm deprecate in 8 months ago, you may have missed the npm log in the terminal.

image

@chenjiahan
Copy link
Member

npm does not allow to unpublish a version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants