mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
7 lines
458 B
JavaScript
7 lines
458 B
JavaScript
// This is required for compatibility in projects that don't support the exports map field (e.g. Jest 27),
|
|
// so when require paths such as `@storybook/core-events/server-errors`,
|
|
// An error like this will occur:
|
|
// ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/server-errors.js'
|
|
// https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432
|
|
module.exports = require('storybook/internal/server-errors');
|