From e8cdae9ce000d168a16bd9629b5e572e9220b87f Mon Sep 17 00:00:00 2001 From: Zhou xiao Date: Mon, 4 Nov 2024 14:55:06 +0800 Subject: [PATCH] docs: Update _webpackConfig.mdx --- website-new/src/components/config/_webpackConfig.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website-new/src/components/config/_webpackConfig.mdx b/website-new/src/components/config/_webpackConfig.mdx index c811320f3..b435759bb 100644 --- a/website-new/src/components/config/_webpackConfig.mdx +++ b/website-new/src/components/config/_webpackConfig.mdx @@ -35,7 +35,7 @@ module.exports = { }; ``` -:::caution 【重要】注意: +:::tip 【重要】注意: 1. libraryTarget 需要配置成 umd 规范; 2. globalObject 需要设置为 'window',以避免由于不规范的代码格式导致的逃逸沙箱;