()
| 191 | } |
| 192 | |
| 193 | get outputPath() { |
| 194 | let commonPath = this.compilers[0].outputPath; |
| 195 | for (const compiler of this.compilers) { |
| 196 | while ( |
| 197 | compiler.outputPath.indexOf(commonPath) !== 0 && |
| 198 | /[/\\]/.test(commonPath) |
| 199 | ) { |
| 200 | commonPath = commonPath.replace(/[/\\][^/\\]*$/, ""); |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | if (!commonPath && this.compilers[0].outputPath[0] === "/") return "/"; |
| 205 | return commonPath; |
| 206 | } |
| 207 | |
| 208 | get inputFileSystem() { |
| 209 | throw new Error("Cannot read inputFileSystem of a MultiCompiler"); |