Skip to content

Commit

Permalink
docs: Update _webpackConfig.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw authored Nov 4, 2024
1 parent 0d3e841 commit e8cdae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website-new/src/components/config/_webpackConfig.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
};
```

:::caution 【重要】注意:
:::tip 【重要】注意:

1. libraryTarget 需要配置成 umd 规范;
2. globalObject 需要设置为 'window',以避免由于不规范的代码格式导致的逃逸沙箱;
Expand Down

0 comments on commit e8cdae9

Please sign in to comment.