Files
klz-cables.com/.pnpm-store/v10/files/66/86c6074c587e4575074e52c2044241f20cfef7577e723ab79986ff693cd8ce3594b0725813ef3cf8c3bae6ad04c5ae5e71490eac27284b70130f500ddb2944
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
2.0 KiB
Plaintext

import type { LoaderContext } from 'webpack';
import type { MessagesFormat } from '../extractor/format/types.js';
export type PluginConfig = {
requestConfig?: string;
experimental?: {
/** A path to the messages file that you'd like to create a declaration for. In case you want to consider multiple files, you can pass an array of paths. */
createMessagesDeclaration?: string | Array<string>;
/** Relative path(s) to your source files, to be used in combination with `extract` and `messages`. */
srcPath?: string | Array<string>;
/** Configuration about your catalogs of messages, to be used in combination with `srcPath` and `extract`. */
messages?: {
/** Relative path to the directory containing your messages. */
path: string;
/** Defines the format for how your messages are stored. */
format: MessagesFormat;
/** Either automatically infer the locales based on catalog files in `path` or explicitly define them. */
locales: 'infer' | ReadonlyArray<string>;
/**
* When enabled, ICU messages are precompiled at build time, resulting in smaller bundles and faster message formatting.
*/
precompile?: boolean;
};
/** Enables the usage of `useExtracted`, to be used in combination with `srcPath` and `messages`. */
extract?: {
sourceLocale: string;
};
};
};
export type TurbopackLoaderContext<Options> = Pick<LoaderContext<Options>, 'rootContext' | 'sourceMap' | 'getOptions' | 'getResolve' | 'emitWarning' | 'emitError' | 'getLogger' | 'context' | 'loaderIndex' | 'loaders' | 'resourcePath' | 'resourceQuery' | 'resourceFragment' | 'async' | 'callback' | 'cacheable' | 'addDependency' | 'dependency' | 'addContextDependency' | 'addMissingDependency' | 'getDependencies' | 'getContextDependencies' | 'getMissingDependencies' | 'clearDependencies' | 'resource' | 'request' | 'remainingRequest' | 'currentRequest' | 'previousRequest' | 'query' | 'data'>;