rollup-plugin-react-scoped-css
Version:
A rollup plugin designed to allow scoped css to be run in react (Compatible with vite and rollup)
33 lines (32 loc) • 1.28 kB
TypeScript
export declare const createObjectAssignCallExpressionWithIdentifier: (identifier: any, objectExpression: any) => {
type: string;
callee: {
type: string;
object: {
type: string;
name: string;
};
property: {
type: string;
name: string;
};
computed: boolean;
optional: boolean;
};
arguments: any[];
optional: boolean;
};
export declare const createObjectExpressionWithAttr: (attrNode: any) => {
type: string;
properties: any[];
};
export declare const extendObjectExpression: (objectExpression: any, prop: any) => any;
export declare const hackIntoExtenderCallExpression: (callExpression: any, prop: any) => any;
export declare const isNodeCallExpression: (node: any) => boolean;
export declare const isNodeObjectExpression: (node: any) => boolean;
export declare const isNodeExtender: (node: any) => boolean;
export declare const isNodeIdentifier: (node: any) => boolean;
export declare const isNodeImportDeclaration: (node: any) => boolean;
export declare const isNodeRequireCallExpression: (node: any) => boolean;
export declare const isNodeImportOrRequire: (node: any) => boolean;
export declare const getSrcFromImportOrRequire: (node: any) => any;