(charType)
| 1041 | return this; |
| 1042 | } |
| 1043 | trimEnd(charType) { |
| 1044 | const rx = new RegExp((charType || '\\s') + '+$'); |
| 1045 | let source; |
| 1046 | let i = this.sources.length - 1; |
| 1047 | do { |
| 1048 | source = this.sources[i--]; |
| 1049 | if (!source) { |
| 1050 | this.intro = this.intro.replace(rx, ''); |
| 1051 | break; |
| 1052 | } |
| 1053 | } while (!source.content.trimEndAborted(charType)); |
| 1054 | return this; |
| 1055 | } |
| 1056 | } |
| 1057 | export { Bundle, SourceMap, MagicString as default }; |
nothing calls this directly
no test coverage detected