Buckets:
| import type { webpack } from 'next/dist/compiled/webpack/webpack' | |
| import type { NextConfigComplete } from '../../../server/config-shared' | |
| export type ConfigurationContext = { | |
| // If the `appDir` feature is enabled | |
| hasAppDir: boolean | |
| // If the current rule matches a resource in the app layer | |
| isAppDir?: boolean | |
| supportedBrowsers: string[] | undefined | |
| rootDirectory: string | |
| customAppFile: RegExp | undefined | |
| isDevelopment: boolean | |
| isProduction: boolean | |
| isServer: boolean | |
| isClient: boolean | |
| isEdgeRuntime: boolean | |
| targetWeb: boolean | |
| assetPrefix: string | |
| sassOptions: any | |
| productionBrowserSourceMaps: boolean | |
| serverSourceMaps: boolean | |
| transpilePackages: NextConfigComplete['transpilePackages'] | |
| // @ts-expect-error TODO: remove any | |
| future: NextConfigComplete['future'] | |
| experimental: NextConfigComplete['experimental'] | |
| deploymentId?: string | |
| } | |
| export type ConfigurationFn = ( | |
| a: webpack.Configuration | |
| ) => webpack.Configuration | |
| export const pipe = | |
| <R>(...fns: Array<(a: R) => R | Promise<R>>) => | |
| (param: R) => | |
| fns.reduce( | |
| async (result: R | Promise<R>, next) => next(await result), | |
| param | |
| ) | |
Xet Storage Details
- Size:
- 1.16 kB
- Xet hash:
- 24dcae3af97f0b1a901fd5cf02f33210565300c97cc94b62d1c8b8528455e465
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.