* The result of a preprocessor run. If the preprocessor does not return a result, it is assumed that the code is unchanged.
| 2914 | * The result of a preprocessor run. If the preprocessor does not return a result, it is assumed that the code is unchanged. |
| 2915 | */ |
| 2916 | interface Processed_1 { |
| 2917 | /** |
| 2918 | * The new code |
| 2919 | */ |
| 2920 | code: string; |
| 2921 | /** |
| 2922 | * A source map mapping back to the original code |
| 2923 | */ |
| 2924 | map?: string | object; // we are opaque with the type here to avoid dependency on the remapping module for our public types. |
| 2925 | /** |
| 2926 | * A list of additional files to watch for changes |
| 2927 | */ |
| 2928 | dependencies?: string[]; |
| 2929 | /** |
| 2930 | * Only for script/style preprocessors: The updated attributes to set on the tag. If undefined, attributes stay unchanged. |
| 2931 | */ |
| 2932 | attributes?: Record<string, string | boolean>; |
| 2933 | toString?: () => string; |
| 2934 | } |
| 2935 | |
| 2936 | /** |
| 2937 | * A markup preprocessor that takes a string of code and returns a processed version. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…