Files
2026-02-10 01:14:19 +00:00

10 lines
632 B
JavaScript

'use strict';
var path = require('path');
var common = require('storybook/internal/common');
function previewAnnotations(entry=[],options){return common.checkAddonOrder({before:{name:"@storybook/addon-actions",inEssentials:!0},after:{name:"@storybook/addon-interactions",inEssentials:!1},configFile:path.isAbsolute(options.configDir)?path.join(options.configDir,"main"):path.join(process.cwd(),options.configDir,"main"),getConfig:configFile=>common.serverRequire(configFile)}),entry}var ADDON_INTERACTIONS_IN_USE=!0;
exports.ADDON_INTERACTIONS_IN_USE = ADDON_INTERACTIONS_IN_USE;
exports.previewAnnotations = previewAnnotations;