next-with-linaria
Version:
Linaria support for Next.js App Router
14 lines (13 loc) • 487 B
TypeScript
import type { PluginOptions, Preprocessor } from '@wyw-in-js/transform';
import type { RawLoaderDefinitionFunction } from 'webpack';
export type LinariaLoaderOptions = {
fastCheck?: boolean;
prefixer?: boolean;
preprocessor?: Preprocessor;
sourceMap?: boolean;
} & Partial<PluginOptions>;
type LoaderType = RawLoaderDefinitionFunction<LinariaLoaderOptions & {
name: string;
}>;
declare const webpackTransformLoader: LoaderType;
export default webpackTransformLoader;