(id: string)
| 4000 | } |
| 4001 | |
| 4002 | private sourceOf(id: string): string | undefined { |
| 4003 | const module = this.graph.moduleOf(id) |
| 4004 | return module instanceof SourceModule ? |
| 4005 | module.source |
| 4006 | : this.graph.host.readFile(id) |
| 4007 | } |
| 4008 | |
| 4009 | private stampConfiguration(module: SourceModule, s: MagicString): void { |
| 4010 | const call = this.configureCallsOf(module)[0] |