()
| 34 | } |
| 35 | |
| 36 | getCSSAppendage() { |
| 37 | |
| 38 | let sourceMapURL = this.sourceMapURL; |
| 39 | if (this.options.sourceMapFileInline) { |
| 40 | if (this.sourceMap === undefined) { |
| 41 | return ''; |
| 42 | } |
| 43 | sourceMapURL = `data:application/json;base64,${environment.encodeBase64(this.sourceMap)}`; |
| 44 | } |
| 45 | |
| 46 | if (this.options.disableSourcemapAnnotation) { |
| 47 | return ''; |
| 48 | } |
| 49 | |
| 50 | if (sourceMapURL) { |
| 51 | return `/*# sourceMappingURL=${sourceMapURL} */`; |
| 52 | } |
| 53 | return ''; |
| 54 | } |
| 55 | |
| 56 | getExternalSourceMap() { |
| 57 | return this.sourceMap; |