index.d.ts 456 B

12345678910
  1. import type { Plugin } from 'postcss';
  2. import type { Options } from 'autoprefixer';
  3. import uniPostcssScopedPlugin from './plugins/stylePluginScoped';
  4. import uniPostcssPlugin, { UniAppCssProcessorOptions } from './plugins/uniapp';
  5. export { uniPostcssPlugin };
  6. export { uniPostcssScopedPlugin };
  7. export declare function initPostcssPlugin({ uniApp, autoprefixer, }?: {
  8. uniApp?: UniAppCssProcessorOptions;
  9. autoprefixer?: Options | false;
  10. }): Plugin[];