From 0158a5d1e843034b4a366975dbb0c9f146a17ebb Mon Sep 17 00:00:00 2001 From: Damoness Date: Thu, 14 Aug 2025 09:26:09 +0800 Subject: [PATCH] Update author-libraries.mdx --- src/content/guides/author-libraries.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/guides/author-libraries.mdx b/src/content/guides/author-libraries.mdx index b5b740967c6b..43dfd8816a78 100644 --- a/src/content/guides/author-libraries.mdx +++ b/src/content/guides/author-libraries.mdx @@ -201,6 +201,7 @@ module.exports = { path: path.resolve(__dirname, 'dist'), filename: 'webpack-numbers.js', - library: 'webpackNumbers', ++ globalObject: 'this', + library: { + name: 'webpackNumbers', + type: 'umd',