File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
build-tests/hashed-folder-copy-plugin-webpack5-test/src Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ const ASSETS_BASE_URL: string = requireFolder({
10
10
]
11
11
} ) ;
12
12
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
+
13
23
function appendImageToBody ( url : string ) : void {
14
24
const image : HTMLImageElement = document . createElement ( 'img' ) ;
15
25
image . src = url ;
@@ -25,3 +35,5 @@ appendImageToBody(`${ASSETS_BASE_URL2}/red.png`);
25
35
appendImageToBody ( `${ ASSETS_BASE_URL2 } /green.png` ) ;
26
36
appendImageToBody ( `${ ASSETS_BASE_URL2 } /blue.png` ) ;
27
37
appendImageToBody ( `${ ASSETS_BASE_URL2 } /subfolder/yellow.png` ) ;
38
+
39
+ console . log ( HEFT_SRC_FILES_BASE_URL ) ;
You can’t perform that action at this time.
0 commit comments