From b70d664de7359e8f667a75190dd5657d3878b4f9 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 1 Feb 2022 18:56:08 +0530 Subject: [PATCH] docs: avoid `Badge` in heading --- src/content/configuration/output.mdx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index 5f52e8ec6d9f..fa9dc6a00932 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -967,7 +967,9 @@ MyLibrary = _entry_return_; Be aware that if `MyLibrary` isn't defined earlier your library will be set in global scope. -##### type: 'assign-properties' +##### type: 'assign-properties' + + ```js module.exports = { @@ -1148,7 +1150,7 @@ T> Wondering the difference between CommonJS and CommonJS2 is? While they are si ##### type: 'commonjs-static' - + ```js module.exports = { @@ -1617,7 +1619,9 @@ MyLibrary = _entry_return_; Be aware that if `MyLibrary` isn't defined earlier your library will be set in the global scope. -#### libraryTarget: 'assign-properties' +#### libraryTarget: 'assign-properties' + + W> Prefer to use [output.library.type: 'assign-properties'`](#type-assign-properties).