Skip to content

Commit d960fd0

Browse files
authored
[backport] Turbopack: don't match dynamic pattern for node_modules packages (#83803)
Backport #83176
1 parent 16de4b5 commit d960fd0

File tree

12 files changed

+240
-62
lines changed

12 files changed

+240
-62
lines changed

turbopack/crates/turbopack-core/src/resolve/pattern.rs

Lines changed: 188 additions & 27 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!**

turbopack/crates/turbopack-core/tests/pattern/read_matches/index.js

Whitespace-only changes.

turbopack/crates/turbopack-core/tests/pattern/read_matches/node_modules/pkg/LICENSE

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbopack/crates/turbopack-core/tests/pattern/read_matches/node_modules/pkg/README.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbopack/crates/turbopack-core/tests/pattern/read_matches/node_modules/pkg/index.js

Whitespace-only changes.

turbopack/crates/turbopack-core/tests/pattern/read_matches/node_modules/pkg/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbopack/crates/turbopack-core/tests/pattern/read_matches/sub/foo-a.js

Whitespace-only changes.

turbopack/crates/turbopack-core/tests/pattern/read_matches/sub/foo-a.js.map

Whitespace-only changes.

turbopack/crates/turbopack-core/tests/pattern/read_matches/sub/foo-b.js

Whitespace-only changes.

0 commit comments

Comments
 (0)