From e483d23623adaeec3a24f0a569c5eaebf2c0b75e Mon Sep 17 00:00:00 2001 From: Peiling Jiang <25191575+peilingjiang@users.noreply.github.com> Date: Sun, 28 Aug 2022 22:03:58 -0700 Subject: [PATCH 1/2] remove typo extra underscore --- src/content/configuration/output.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index 63b07faa78f7..d62007f07e40 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -924,7 +924,7 @@ Configure how the library will be exposed. Types included by default are `'var'`, `'module'`, `'assign'`, `'assign-properties'`, `'this'`, `'window'`, `'self'`, `'global'`, `'commonjs'`, `'commonjs2'`, `'commonjs-module'`, `'commonjs-static'`, `'amd'`, `'amd-require'`, `'umd'`, `'umd2'`, `'jsonp'` and `'system'`, but others might be added by plugins. -For the following examples, we'll use `__entry_return_` to indicate the values returned by the entry point. +For the following examples, we'll use `_entry_return_` to indicate the values returned by the entry point. #### Expose a Variable From 14967d625f57540d25cefe078b59ce180380d26f Mon Sep 17 00:00:00 2001 From: Peiling Jiang <25191575+peilingjiang@users.noreply.github.com> Date: Tue, 30 Aug 2022 09:49:08 -0700 Subject: [PATCH 2/2] Update output.mdx --- src/content/configuration/output.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index d62007f07e40..1fa1f2331058 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -1501,7 +1501,7 @@ which will yield the following: //Test Comment else root['MyLibrary'] = factory(); })(self, function () { - return __entry_return_; + return _entry_return_; }); ```