@stylexswc/nextjs-plugin
Version:
StyleX plugin for Next.js powered by a Rust NAPI-RS/SWC compiler. Supports Webpack, Rspack, and Turbopack builds with CSS extraction.
5 lines • 377 B
TypeScript
import type { NextConfig } from 'next/dist/server/config-shared';
import type { StyleXPluginOption } from '@stylexswc/webpack-plugin';
declare const withStyleX: (pluginOptions?: Omit<StyleXPluginOption, "useCSSLayers" | "nextjsMode" | "transformCss" | "extractCSS">) => (nextConfig?: NextConfig) => NextConfig;
export default withStyleX;
//# sourceMappingURL=turbopack.d.ts.map