Generator options for asset/resource modules.
Type:
booleanWhether or not this asset module should be considered binary. This can be set to 'false' to treat this asset module as text.
Type:
booleanEmit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.
Type:
string | TemplatePathFn<PathDataModule>The filename of asset modules as relative path inside the 'output.path' directory.
Type:
string | TemplatePathFn<PathDataModule>Emit the asset in the specified folder relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.
Type:
string | TemplatePathFn<PathData>The 'publicPath' specifies the public URL address of the output files when referenced in a browser.