Skip to content

Commit 49f445d

Browse files
committed
Introduce a repro for the issue.
1 parent af265e5 commit 49f445d

File tree

1 file changed

+12
-0
lines changed
  • build-tests/hashed-folder-copy-plugin-webpack5-test/src

1 file changed

+12
-0
lines changed

build-tests/hashed-folder-copy-plugin-webpack5-test/src/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ const ASSETS_BASE_URL: string = requireFolder({
1010
]
1111
});
1212

13+
const HEFT_SRC_FILES_BASE_URL: string = requireFolder({
14+
outputFolder: 'heft_src_files_[hash]',
15+
sources: [
16+
{
17+
globsBase: '@rushstack/heft/src',
18+
globPatterns: ['**/*']
19+
}
20+
]
21+
});
22+
1323
function appendImageToBody(url: string): void {
1424
const image: HTMLImageElement = document.createElement('img');
1525
image.src = url;
@@ -25,3 +35,5 @@ appendImageToBody(`${ASSETS_BASE_URL2}/red.png`);
2535
appendImageToBody(`${ASSETS_BASE_URL2}/green.png`);
2636
appendImageToBody(`${ASSETS_BASE_URL2}/blue.png`);
2737
appendImageToBody(`${ASSETS_BASE_URL2}/subfolder/yellow.png`);
38+
39+
console.log(HEFT_SRC_FILES_BASE_URL);

0 commit comments

Comments
 (0)