diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index 44075acdded4..d946c1c79a8a 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -1257,6 +1257,10 @@ If we specify `output.library.name` with `type: commmonjs2`, the return value of T> Wondering the difference between CommonJS and CommonJS2 is? While they are similar, there are some subtle differences between them that are not usually relevant in the context of webpack. (For further details, please [read this issue](https://github.com/webpack/webpack/issues/1114).) +##### type: 'commonjs-module' + +`commonjs-module` is equivalent to [`commonjs2`](#type-commonjs2). We may remove `commonjs-module` in future versions. + ##### type: 'commonjs-static'