mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
23 lines
632 B
TypeScript
23 lines
632 B
TypeScript
import * as RspackCore from '@rspack/core'
|
|
import { NapiNextExternalsPluginOptions } from '@next/rspack-binding'
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
declare class NextExternalsPlugin {
|
|
/**
|
|
* The banner text to be added to the output file.
|
|
*/
|
|
constructor(options: NapiNextExternalsPluginOptions)
|
|
}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
declare class ForceCompleteRuntimePlugin {
|
|
constructor()
|
|
}
|
|
|
|
declare const core: typeof RspackCore & {
|
|
NextExternalsPlugin: typeof NextExternalsPlugin
|
|
ForceCompleteRuntimePlugin: typeof ForceCompleteRuntimePlugin
|
|
}
|
|
|
|
export = core
|