Skip to content

Use static string path imports to load the platform-specific implementations.#131

Merged
sindresorhus merged 2 commits intosindresorhus:mainfrom
lgarron:inline-platform-specific-imports
Sep 18, 2025
Merged

Use static string path imports to load the platform-specific implementations.#131
sindresorhus merged 2 commits intosindresorhus:mainfrom
lgarron:inline-platform-specific-imports

Conversation

@lgarron
Copy link
Contributor

@lgarron lgarron commented Sep 17, 2025

This allows the imports to be statically analyzed and bundled by the widest variety of tooling.

Closes: #130

…tations.

This allows the imports to be statically analyzed and bundled by the widest variety of tooling.

Closes: sindresorhus#130
@lgarron lgarron force-pushed the inline-platform-specific-imports branch from 664be9f to ee611b9 Compare September 17, 2025 22:20
@sindresorhus sindresorhus merged commit d55ea00 into sindresorhus:main Sep 18, 2025
6 checks passed
@lgarron
Copy link
Contributor Author

lgarron commented Sep 18, 2025

@sindresorhus Thanks!

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.

Dynamic resolution of platform-specific implementations breaks static analysis and bundling

2 participants