| 115 | } |
| 116 | |
| 117 | clone(): this { |
| 118 | const bundle = new Bundle({ |
| 119 | intro: this.intro, |
| 120 | separator: this.separator, |
| 121 | }) |
| 122 | |
| 123 | this.sources.forEach((source) => { |
| 124 | bundle.addSource({ |
| 125 | filename: source.filename, |
| 126 | content: source.content.clone(), |
| 127 | ignoreList: source.ignoreList, |
| 128 | indentExclusionRanges: source.indentExclusionRanges, |
| 129 | separator: source.separator, |
| 130 | }) |
| 131 | }) |
| 132 | |
| 133 | return bundle as this |
| 134 | } |
| 135 | |
| 136 | generateDecodedMap(options: SourceMapOptions = {}): DecodedSourceMapOrMissingContent { |
| 137 | const names = [] |