(i, options)
| 7 | |
| 8 | module.exports = { |
| 9 | findBundle(i, options) { |
| 10 | const bundle = findOutputFiles(options, new RegExp(`^bundle${i}`))[0]; |
| 11 | allBundles.add(/\.([^.]+)\./.exec(bundle)[1]); |
| 12 | |
| 13 | const assets = findOutputFiles(options, /^img/); |
| 14 | for (const asset of assets) { |
| 15 | allAssets.add(asset); |
| 16 | } |
| 17 | |
| 18 | return `./${bundle}`; |
| 19 | }, |
| 20 | afterExecute: () => { |
| 21 | // Since there are exactly 2 unique values of output.hashSalt, |
| 22 | // there should be exactly 2 unique output hashes for each file. |