new Compiler(context, options?): Compiler
<string>
<WebpackOptionsNormalized>
<Compiler>
Creates an instance of Compiler.
cache
compilerPath
context
contextTimestamps
fileTimestamps
fsStartTime
<number>
hooks
idle
<boolean>
immutablePaths
infrastructureLogger
<object>
inputFileSystem
<InputFileSystem>
<null>
intermediateFileSystem
managedPaths
modifiedFiles
moduleMemCaches
name
options
outputFileSystem
<OutputFileSystem>
outputPath
parentCompilation
<Compilation>
platform
records
recordsInputPath
recordsOutputPath
removedFiles
requestShortener
resolverFactory
root
running
unmanagedPaths
watchFileSystem
watching
<Watching>
watchMode
webpack
close(callback): void
Processes the provided error callback.
compile(callback): void
callback
Processes the provided compilation.
createChildCompiler(compilation, compilerName, compilerIndex, outputOptions?, plugins?): Compiler
<WebpackPluginInstance>
<undefined[]>
Creates a child compiler.
createCompilation(params): void
params
Creates a compilation.
createContextModuleFactory(): ContextModuleFactory
createNormalModuleFactory(): NormalModuleFactory
emitAssets(compilation, callback): void
emitRecords(callback): void
getCache(name): CacheFacade
Returns the cache facade instance.
getInfrastructureLogger(name): WebpackLogger
Gets infrastructure logger.
isChild(): boolean
Compilation(params): void
Returns the created compilation.
CompilationParams(): object
purgeInputFileSystem(): void
readRecords(callback): void
run(callback): void
Processes the provided stat.
runAsChild(callback): void
Processes the provided run as child callback.
validate(schema, value, options?, check?): void
Schema validation function with optional pre-compiled check
watch(watchOptions, handler): void
watchOptions
handler
<undefined>
Returns a compiler watcher.