Skip to content

Commit

Permalink
Merge pull request #24797 from storybookjs/norbert/disable-warn-addon…
Browse files Browse the repository at this point in the history
…s-deck

TestBuild: Disable warnOnIncompatibleAddons
  • Loading branch information
ndelangen authored Nov 10, 2023
2 parents 9648116 + 1cfbef7 commit 327b0c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/lib/core-server/src/build-static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ export async function buildStaticStandalone(options: BuildStaticStandaloneOption
logger.warn(`you have not specified a framework in your ${options.configDir}/main.js`);
}

await warnOnIncompatibleAddons(config);
if (options.test) {
await warnOnIncompatibleAddons(config);
}

logger.info('=> Loading presets');
let presets = await loadAllPresets({
Expand Down

0 comments on commit 327b0c5

Please sign in to comment.