storybook/addons/a11y/preset.js

14 lines
305 B
JavaScript

function managerEntries(entry = []) {
return [...entry, require.resolve('./dist/esm/register')];
}
function config(entry = []) {
return [
...entry,
require.resolve('./dist/esm/a11yRunner'),
require.resolve('./dist/esm/a11yHighlight'),
];
}
module.exports = { managerEntries, config };