These types are not exported by webpack, but they are available to TypeScript consumers.
Attributes
dependencies:
<Dependency[]>dependencies of the entrypoint that should be evaluated at startup
includeDependencies:
<Dependency[]>dependencies of the entrypoint that should be included but not evaluated
options:
<EntryOptions>options of the entrypoint
An object with entry point description.
Attributes
asyncChunks:
<boolean>Enable/disable creating async chunks that are loaded on demand.
baseUri:
<string>Base uri for this entry.
chunkLoading:
<string>The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
dependOn:
<string>
|
<string[]>The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.
filename:
{string|TemplatePathFn< PathDataChunk >} Specifies the filename of the output file on disk. You must
not
specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
import:
<EntryItem>Module(s) that are loaded upon startup.
library:
<LibraryOptions>Options for library.
publicPath:
{string|TemplatePathFn< PathData >} The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
runtime:
<string>The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.
wasmLoading:
<string>The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
An object with entry point description.
Attributes
asyncChunks:
<boolean>Enable/disable creating async chunks that are loaded on demand.
baseUri:
<string>Base uri for this entry.
chunkLoading:
<string>The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
dependOn:
<string[]>The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.
filename:
{string|TemplatePathFn< PathDataChunk >} Specifies the filename of output files on disk. You must
not
specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
import:
<string[]>Module(s) that are loaded upon startup. The last one is exported.
library:
<LibraryOptions>Options for library.
publicPath:
{string|TemplatePathFn< PathData >} The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
runtime:
<string>The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.
wasmLoading:
<string>The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.
[index: {string}]<string>|<string[]>|<EntryDescription>
Multiple entry bundles are created. The key is the entry name. The value is an entry description object.
[index: {string}]<EntryDescriptionNormalized>
Attributes
Type:
<string>
|
<object>
|
<EntryObject>
|
<string[]>Type:
<string>
|
<string[]>Type:
<object>
|
<EntryStaticNormalized>Type:
{object|Omit< EntryDescriptionNormalized, "import" >}
Attributes
name:
<string>Type:
<string>
|
<EntryObject>
|
<string[]>