-
Notifications
You must be signed in to change notification settings - Fork 33
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
base: master
Are you sure you want to change the base?
Conversation
@@ -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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
css-loader
升级之后,esModule
的默认值改为了 true
,为保持原来的使用习惯这里保持统一
否则有这个现象: webpack/webpack#18401
[Git-flow] Hi @liaoyu, There are some suggestions for your information: Rebase suggestions
Which seems insignificant, recommend to use For other If you have any questions about this comment, feel free to raise an issue here: |
改动点
解决的问题