Skip to content

Commit 8cc0ceb

Browse files
committed
test: regression issue
1 parent fe69381 commit 8cc0ceb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/plugins/entryModuleLoader.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function splitFromFirstLine(text: string): [string, string] {
1515
}
1616

1717
const loader: Rspack.LoaderDefinition = function loader(source) {
18+
console.time('entryModuleLoader');
1819
let result = source;
1920

2021
if (this.resourceQuery === `?${RSLIB_ENTRY_QUERY}`) {
@@ -30,6 +31,8 @@ const loader: Rspack.LoaderDefinition = function loader(source) {
3031
}
3132
}
3233

34+
console.timeEnd('entryModuleLoader');
35+
3336
return result;
3437
};
3538

0 commit comments

Comments
 (0)