Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/core/src/plugins/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export const pluginBasic = (): RsbuildPlugin => ({

chain.module.parser.merge({
javascript: {
exportsPresence: 'error',
typeReexportsPresence: 'tolerant',
},
});
Expand Down
2 changes: 0 additions & 2 deletions packages/core/tests/__snapshots__/basic.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ exports[`plugin-basic > should apply basic config correctly in development 1`] =
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down Expand Up @@ -44,7 +43,6 @@ exports[`plugin-basic > should apply basic config correctly in production 1`] =
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/tests/__snapshots__/builder.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ exports[`should use Rspack as the default bundler > apply Rspack correctly 1`] =
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down
4 changes: 0 additions & 4 deletions packages/core/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = `
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down Expand Up @@ -515,7 +514,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down Expand Up @@ -1030,7 +1028,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when targe
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down Expand Up @@ -1468,7 +1465,6 @@ exports[`tools.rspack > should match snapshot 1`] = `
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down
2 changes: 0 additions & 2 deletions packages/core/tests/__snapshots__/environments.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,6 @@ exports[`environment config > tools.rspack / bundlerChain can be configured in e
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down Expand Up @@ -1881,7 +1880,6 @@ exports[`environment config > tools.rspack / bundlerChain can be configured in e
"module": {
"parser": {
"javascript": {
"exportsPresence": "error",
"typeReexportsPresence": "tolerant",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ exports[`plugins/react > should not apply splitChunks rule when strategy is not

exports[`plugins/react > should set \`parser.javascript.jsx\` to \`true\` when using \`preserve\` react runtime 1`] = `
{
"exportsPresence": "error",
"jsx": true,
"typeReexportsPresence": "tolerant",
}
Expand Down
Loading