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',