UNPKG

453 BJavaScriptView Raw
1// This is required for compatibility in projects that don't support the exports map field (e.g. Jest 27),
2// so when require paths such as `@storybook/core-events/server-errors`,
3// An error like this will occur:
4// ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/server-errors.js'
5// https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432
6module.exports = require('./dist/errors/server-errors');