We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d982ffa commit a140804Copy full SHA for a140804
packages/core/src/config.ts
@@ -481,7 +481,7 @@ const composeBundleConfig = (
481
// This may result in a change in semantics,
482
// user should use copy to keep origin file or use another separate entry to deal this
483
let request = data.request;
484
- if (data.request[0] === '.') {
+ if (request[0] === '.') {
485
request = extname(request)
486
? request.replace(/\.[^.]+$/, jsExtension)
487
: `${request}${jsExtension}`;
0 commit comments