Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Switch to bundler TypeScript moduleResolution #1170

Merged
merged 3 commits into from
Jun 11, 2023

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented May 30, 2023

This is a new resolution algorithm in TypeScript that closely matches the one found in popular bundlers like Vite and Webpack.

Switching to it is recommended since more and more packages are using exports maps, which outdated node resolution does not support.

Nuxt added support for this resolution in 3.5.0, so it was explicitly updated. Along it were updated the TypeScript-related dependencies, since bundler resolution was only added in TypeScript 5.

More details:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#moduleresolution-bundler
microsoft/TypeScript#51669

brawaru added 2 commits May 30, 2023 15:26
This is a new resolution algorithm in TypeScript that closely matches
the one present in popular bundlers like Vite and Webpack.

More details:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#moduleresolution-bundler
microsoft/TypeScript#51669
Conflicts:
	package.json
	pnpm-lock.yaml
@triphora triphora merged commit 20d1c4d into modrinth:master Jun 11, 2023
Morb0 pushed a commit to CorvaxStation/knossos that referenced this pull request Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants