UNPKG

css-transform-matrix-plugin

Version:

A webpack plugin that automatically converts CSS transform properties to matrix3d for GPU acceleration

24 lines 872 B
import type { WebpackCompiler } from '../types/index'; interface PluginOptions { enabled?: boolean; extensions?: string[]; keepOriginal?: boolean; verbose?: boolean; } declare class CSSTransformMatrixPlugin { private options; constructor(options?: PluginOptions); apply(compiler: WebpackCompiler): void; private processAssets; private createNewAsset; private processCSS; private createTransformPlugin; private processTransformDeclaration; } export { CSSTransformMatrixPlugin }; export { createPostCSSPlugin } from '../postcss-plugin'; export { transformValue, transformStyleObject, transformCSSString, batchTransform, } from '../runtime'; export { TransformParser } from '../parser/index'; export { MatrixTransformer } from '../transformer/index'; export default CSSTransformMatrixPlugin; //# sourceMappingURL=index.d.ts.map