next-yak
Version:
next-yak is a CSS-in-JS solution tailored for Next.js that seamlessly combines the expressive power of styled-components syntax with efficient build-time extraction of CSS using Next.js's built-in CSS configuration
13 lines (12 loc) • 507 B
text/typescript
import { LoaderContext } from "webpack";
import { YakConfigOptions } from "../withYak/index.js";
//#region loaders/webpack-loader.d.ts
/**
* Transform typescript to css
*
* This loader takes the cached result from the yak tsloader
* and extracts the css from the generated comments
*/
declare function cssExtractLoader(this: LoaderContext<YakConfigOptions>, _code: string, sourceMap: string | undefined): Promise<string | void>;
export = cssExtractLoader;
//# sourceMappingURL=webpack-loader.d.cts.map