Skip to content

Commit ee90c94

Browse files
Merge branch 'main' into fix-reduce-csp-false-positives
2 parents 9205f37 + a753735 commit ee90c94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/website-new/docs/en/configure/getpublicpath.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ In the example below, `getPublicPath` is set. When other consumers load this pro
1313
```getPublicPath``` Must be a function as a string.
1414
:::
1515

16+
:::tip NOTE
17+
If you're using module federation webpack plugin and want to set a dynamic publicPath, you should set `__webpack_public_path__ = window.cdn_prefix` statement in `getPublicPath` function body.
18+
:::
19+
1620
```ts title="rspack.config.ts"
1721
module.exports = {
1822
plugins: [

0 commit comments

Comments
 (0)