storybook-addon-valkyrie-theme/.storybook/local-preset.js

15 lines
327 B
JavaScript
Raw Permalink Normal View History

2024-10-18 10:01:24 +00:00
/**
* to load the built addon in this test Storybook
*/
function previewAnnotations(entry = []) {
return [...entry, require.resolve("../dist/preview.mjs")];
}
function managerEntries(entry = []) {
return [...entry, require.resolve("../dist/manager.mjs")];
}
module.exports = {
managerEntries,
previewAnnotations,
};