storybook-addon-valkyrie-theme/.storybook/local-preset.js
2024-10-18 23:01:24 +13:00

15 lines
No EOL
327 B
JavaScript

/**
* 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,
};