diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 9499f8406a6c..f1f46526ab1f 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -73,6 +73,9 @@ module.exports = { asset: { // Generator options for asset modules + // Indicates if this asset should be treated as binary. Set to 'false' to handle it as text instead. Available since webpack 5.93.0 + binary: false, + // The options for data url generator. dataUrl: { // Asset encoding (defaults to "base64") @@ -102,6 +105,9 @@ module.exports = { 'asset/inline': { // Generator options for asset/inline modules + // Indicates if this asset should be treated as binary. Set to 'false' to handle it as text instead. Available since webpack 5.93.0 + binary: false, + // The options for data url generator. dataUrl: { // Asset encoding (defaults to "base64") @@ -115,6 +121,9 @@ module.exports = { 'asset/resource': { // Generator options for asset/resource modules + // Indicates if this asset should be treated as binary. Set to 'false' to handle it as text instead. Available since webpack 5.93.0 + binary: false, + // Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR. // type: boolean emit: true,