You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`[named [name] [name]Alias]` - generates ES module named exports and exports a value equal to the filename under other name., for `single.js` it will be `single` and `singleAlias`, generates `export { single as singleAlias };`.
292
292
293
-
> **Warning**
293
+
> [!WARNING]
294
294
>
295
295
> You need to set `type: "commonjs"` to use `single` or `multiple` syntaxes.
296
296
297
-
> **Warning**
297
+
> [!WARNING]
298
298
>
299
299
> Aliases can't be used together with `default` or `single` syntaxes.
Allow to specify multiple exports. Each item can be a [`string`](https://github.com/webpack-contrib/exports-loader#string) or an [`object`](https://github.com/webpack-contrib/exports-loader#object).
576
576
577
-
> **Warning**
577
+
> [!WARNING]
578
578
>
579
579
> Not possible to use `single` and `multiple` syntaxes together due to CommonJS format limitations.
580
580
581
-
> **Warning**
581
+
> [!WARNING]
582
582
>
583
583
> Not possible to use multiple `default` values due to ES module format limitations.
584
584
585
-
> **Warning**
585
+
> [!WARNING]
586
586
>
587
587
> Not possible to use multiple `single` values due to CommonJS format limitations.
0 commit comments