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

[WIP] 升级至 node20 及 typescript5 #177

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

liaoyu
Copy link
Collaborator

@liaoyu liaoyu commented Jun 18, 2024

改动点

  • 最低支持 node18,升级 typescript 等相关依赖

解决的问题

@@ -147,6 +147,7 @@ function addTransform(
options: {
// https://github.com/webpack-contrib/css-loader/issues/228#issuecomment-312885975
importLoaders: transform.transformer === Transform.Css ? 1 : 0,
esModule: false,
Copy link
Collaborator Author

@liaoyu liaoyu Jun 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css-loader 升级之后,默认值改为了 true,为保持原来的使用习惯这里保持统一

否则有这个现象: webpack/webpack#18401

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.

支持 node18
1 participant