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 a59551a commit 1695fb7Copy full SHA for 1695fb7
packages/core/src/config.ts
@@ -304,7 +304,8 @@ export function composeMinifyConfig(config: LibConfig): RsbuildConfig {
304
jsOptions: {
305
minimizerOptions: {
306
mangle: false,
307
- minify: false,
+ // MF assets are loaded over the network, which means they will not be compressed by the project. Therefore, minifying them is necessary.
308
+ minify: format === 'mf',
309
compress: {
310
defaults: false,
311
unused: true,
0 commit comments