We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4720213 commit 5cbadc4Copy full SHA for 5cbadc4
packages/core/src/config.ts
@@ -646,12 +646,14 @@ const composeExternalsConfig = (
646
esm: 'module-import',
647
cjs: 'commonjs',
648
umd: 'umd',
649
+ mf: 'var', // same as default value
650
} as const;
651
652
switch (format) {
653
case 'esm':
654
case 'cjs':
655
case 'umd':
656
+ case 'mf':
657
return {
658
output: externals
659
? {
@@ -664,14 +666,6 @@ const composeExternalsConfig = (
664
666
},
665
667
668
};
- case 'mf':
- return {
669
- output: externals
670
- ? {
671
- externals,
672
- }
673
- : {},
674
- };
675
default:
676
throw new Error(`Unsupported format: ${format}`);
677
}
0 commit comments