Skip to content

Commit 8cf0fe8

Browse files
fix: correct test condition for webpack module detection
- Fixed Math.random() < 0 (always false) to false for webpack detection - This ensures webpack can properly analyze prefix matching modules - Resolves issue where request-prefix modules weren't being shared 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0220037 commit 8cf0fe8

File tree

1 file changed

+1
-1
lines changed
  • packages/enhanced/test/configCases/sharing/provide-filters

1 file changed

+1
-1
lines changed

packages/enhanced/test/configCases/sharing/provide-filters/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Conditional imports to help webpack detect the shared modules
2-
if (Math.random() < 0) {
2+
if (false) {
33
require('./version-include.js');
44
require('./version-exclude.js');
55
require('./version-include-fail.js');

0 commit comments

Comments
 (0)