Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

fix: update to latest @nuxt/module-builder#144

Merged
productdevbook merged 9 commits intoproductdevbook:mainfrom
danielroe:update-module-builder
Nov 29, 2024
Merged

fix: update to latest @nuxt/module-builder#144
productdevbook merged 9 commits intoproductdevbook:mainfrom
danielroe:update-module-builder

Conversation

@danielroe
Copy link
Copy Markdown
Contributor

Description

Previous versions of @nuxt/module-builder produced incorrect types for files in the runtime/ directory. Specifically, a .d.ts declaration paired with a .mjs file. This isn't correct - it should be either .d.mts and .mjs or .d.ts and .js.

For maximum compatibility, @nuxt/module-builder v0.8 switched to .js extension for files in runtime/ directory.

With the latest Nuxt, this is now an error that removes correct plugin injection types.

Related PRs: nuxt/nuxt#28480, nuxt/nuxt#28593
See also nuxt/nuxt#28672.

Linked Issues

Additional context

@productdevbook productdevbook merged commit e66b631 into productdevbook:main Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants