File tree Expand file tree Collapse file tree
test/statsCases/import-context-filter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11async function getTemplate ( templateName ) {
22 try {
33 let template = await import (
4- /* webpackFilter: "^(?:[^.]*(?:\\.(?!noimport(?:\\.js)?$))?)*$" */
4+ /* webpackFilter: "\\.js$" */
5+ /* webpackExclude: "\\.noimport\\.js$" */
56 `./templates/${ templateName } `
67 ) ;
78 console . log ( template ) ;
Original file line number Diff line number Diff line change 1- Hash: 33a4de53934d1a739090
1+ Hash: 6cd77e5f0fec5bd9044b
22Time: Xms
33 Asset Size Chunks Chunk Names
44 0.js 289 bytes 0 [emitted]
@@ -8,5 +8,5 @@ entry.js 6.82 kB 3 [emitted] entry
88 [0] (webpack)/test/statsCases/import-context-filter/templates/bar.js 38 bytes {2} [optional] [built]
99 [1] (webpack)/test/statsCases/import-context-filter/templates/baz.js 38 bytes {1} [optional] [built]
1010 [2] (webpack)/test/statsCases/import-context-filter/templates/foo.js 38 bytes {0} [optional] [built]
11- [3] (webpack)/test/statsCases/import-context-filter/entry.js 444 bytes {3} [built]
11+ [3] (webpack)/test/statsCases/import-context-filter/entry.js 452 bytes {3} [built]
1212 [4] (webpack)/test/statsCases/import-context-filter/templates lazy ^\.\/.*$ 160 bytes {3} [optional] [built]
You can’t perform that action at this time.
0 commit comments