manager-errors.js 456 B

123456
  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/manager-errors`,
  3. // An error like this will occur:
  4. // ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/manager-errors.js'
  5. // https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432
  6. module.exports = require('./dist/errors/manager-errors');