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 329d8ea commit 7870ea6Copy full SHA for 7870ea6
packages/solutions/app-tools/src/run/index.ts
@@ -113,12 +113,14 @@ export async function run({
113
userConfig.autoLoadPlugins,
114
);
115
116
+ // We need exclude warning when use legacy state plugin, it's a inhouse logic.
117
if (
118
!userConfig.autoLoadPlugins &&
119
userConfig.runtime &&
120
typeof userConfig.runtime !== 'boolean' &&
121
(userConfig.runtime?.state === true ||
- typeof userConfig.runtime?.state === 'object')
122
+ (typeof userConfig.runtime?.state === 'object' &&
123
+ !userConfig.runtime?.state?.legacy))
124
) {
125
if (!userConfig.plugins.find(plugin => plugin.name === statePluginName)) {
126
console.warn(
0 commit comments