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

[Feature]: support setting browserslist in Rspress project #1514

Open
Timeless0911 opened this issue Oct 22, 2024 · 0 comments
Open

[Feature]: support setting browserslist in Rspress project #1514

Timeless0911 opened this issue Oct 22, 2024 · 0 comments

Comments

@Timeless0911
Copy link
Collaborator

Timeless0911 commented Oct 22, 2024

Rspress 使用 Rsbuild 进行编译构建,web 产物默认的 Browserslist 为:

['chrome >= 87', 'edge >= 88', 'firefox >= 78', 'safari >= 14']

即最低兼容到支持原生 ES Modules 的浏览器。

目前暂不支持通过配置修改 Rspress 项目的 browserslist,我们后续会支持用户配置相关 browserslist 来设置需要兼容的浏览器范围。

Originally posted by @Timeless0911 in #1505

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

No branches or pull requests

1 participant