Skip to content

Commit a140804

Browse files
committed
chore: update
1 parent d982ffa commit a140804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ const composeBundleConfig = (
481481
// This may result in a change in semantics,
482482
// user should use copy to keep origin file or use another separate entry to deal this
483483
let request = data.request;
484-
if (data.request[0] === '.') {
484+
if (request[0] === '.') {
485485
request = extname(request)
486486
? request.replace(/\.[^.]+$/, jsExtension)
487487
: `${request}${jsExtension}`;

0 commit comments

Comments
 (0)