Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storybook: drop getAbsolutePath() #849

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

emersion
Copy link
Member

Do like the official docs recommend and just use package names instead of trying to use absolute paths.

The motivation is that NodeJS 23 no longer defines a "require" global.

I couldn't find an explanation in the Git history which could indicate why getAbsolutePath() exists in the first place (been like this from the start).

Do like the official docs recommend and just use package names
instead of trying to use absolute paths.

The motivation is that NodeJS 23 no longer defines a "require"
global.

I couldn't find an explanation in the Git history which could
indicate why getAbsolutePath() exists in the first place (been like
this from the start).

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion requested review from kmer2016 and Caracol3 January 21, 2025 14:03
@emersion emersion requested a review from a team as a code owner January 21, 2025 14:03
@emersion emersion self-assigned this Jan 21, 2025
@emersion emersion added this pull request to the merge queue Jan 22, 2025
Merged via the queue into dev with commit 0bce82b Jan 22, 2025
6 checks passed
@emersion emersion deleted the emr/storybook-no-abs-path branch January 22, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants