@donotdev/core 0.0.33 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/next/index.d.ts CHANGED
@@ -781,5 +781,22 @@ interface NextConfigOptions {
781
781
  */
782
782
  declare function defineNextConfig(options?: NextConfigOptions): any;
783
783
 
784
- export { defineNextConfig };
784
+ // packages/core/config/next/index.d.ts
785
+
786
+
787
+
788
+ /**
789
+ * Create PostCSS configuration for Next.js consumer apps.
790
+ * Handles @fontsource CSS alias and workspace-aware package resolution.
791
+ *
792
+ * @example
793
+ * ```js
794
+ * // postcss.config.js
795
+ * import { definePostCSSConfig } from '@donotdev/core/next';
796
+ * export default definePostCSSConfig();
797
+ * ```
798
+ */
799
+ declare function definePostCSSConfig(): Promise<{ plugins: Array<unknown> }>;
800
+
801
+ export { defineNextConfig, definePostCSSConfig };
785
802
  export type { NextConfigOptions };