diff --git a/lib/core/src/server/common/custom-presets.js b/lib/core/src/server/common/custom-presets.js index aeabe5b9cb5a..841e0b396388 100644 --- a/lib/core/src/server/common/custom-presets.js +++ b/lib/core/src/server/common/custom-presets.js @@ -1,17 +1,7 @@ import path from 'path'; -import { logger } from '@storybook/node-logger'; import serverRequire from '../utils/server-require'; export default function loadCustomPresets({ configDir }) { const presets = serverRequire(path.resolve(configDir, 'presets')); - - if (presets) { - logger.warn( - '"Custom presets" is an experimental and undocumented feature that will be changed or deprecated soon. Use it on your own risk.' - ); - - return presets; - } - - return []; + return presets || []; }