release: WRNexusJS 0.4.0

This commit is contained in:
2026-07-27 12:42:18 +05:30
parent 8b728a3e5d
commit 30e5721e84
250 changed files with 10065 additions and 3923 deletions
+10
View File
@@ -22,6 +22,12 @@ export type Mode = "development" | "production";
export interface StyleProcessContext {
/** Resolved absolute path to the CSS entry, or null if there is none. */
entryPath: string | null;
/** Original application entry when a package-aware wrapper was generated. */
originalEntryPath?: string | null;
/** Package component/style directories that processors should scan. */
sources?: string[];
/** Package-owned CSS entries automatically imported into the application bundle. */
entries?: string[];
appDir: string;
appRoot: string;
mode: Mode;
@@ -36,6 +42,10 @@ export interface StylesConfig {
* used (which already resolves `@import`, including from node_modules).
*/
process?: (ctx: StyleProcessContext) => string | Promise<string>;
/** Automatically append package scan sources to custom processor input. Default true. */
includePackageSources?: boolean;
/** Production defaults to throw; development defaults to best-effort fallback. */
failureMode?: "throw" | "fallback";
}
export interface MobileConfig {