({ streams, logFile }: RawGeneratorProps)
| 15 | logFile: File |
| 16 | |
| 17 | constructor({ streams, logFile }: RawGeneratorProps) { |
| 18 | this.streams = streams.clone() |
| 19 | this.storage = new Storage(PUBLIC_DIR) |
| 20 | this.logFile = logFile |
| 21 | } |
| 22 | |
| 23 | async generate() { |
| 24 | const files = this.streams.groupBy((stream: Stream) => stream.getFilename()) |