Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eighty-starfishes-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ko': patch
---

support immer optionalChaining
2 changes: 2 additions & 0 deletions packages/ko/src/webpack/loaders/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class Script {
return true;
} else if (input.includes('antlr4ng')) {
return true;
} else if (input.includes('immer')) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个感觉可以和上面的 else if 合并一下

return true;
} else if (input.includes('node_modules')) {
return false;
} else {
Expand Down