blob: 5eb630f7cb0a761f989fc58b5044468a5dcc63a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import type { PluginCreator } from 'postcss';
declare const creator: PluginCreator<pluginOptions>;
export default creator;
/** postcss-image-set-function plugin options */
export declare type pluginOptions = {
/** Preserve the original notation. default: true */
preserve?: boolean;
/**
* Determine how invalid usage of `image-set()` should be handled.
* By default, invalid usages of `image-set()` are ignored.
* They can be configured to emit a warning with `warn` or throw an exception with `throw`.
* default: 'ignore'
*/
onInvalid?: 'warn' | 'throw' | 'ignore' | false;
};
export { }
|