| 130 | } |
| 131 | |
| 132 | clone(): this { |
| 133 | const bundle = new Bundle({ |
| 134 | intro: this.intro, |
| 135 | separator: this.separator, |
| 136 | }) |
| 137 | |
| 138 | this.sources.forEach((source) => { |
| 139 | bundle.addSource({ |
| 140 | filename: source.filename, |
| 141 | content: source.content.clone(), |
| 142 | ignoreList: source.ignoreList, |
| 143 | indentExclusionRanges: source.indentExclusionRanges, |
| 144 | separator: source.separator, |
| 145 | }) |
| 146 | }) |
| 147 | |
| 148 | return bundle as this |
| 149 | } |
| 150 | |
| 151 | generateDecodedMap(options: BundleSourceMapOptions = {}): DecodedSourceMapOrMissingContent { |
| 152 | const names = [] |