Skip to content

named exports are not right after renaming the modules #189

@Uzlopak

Description

@Uzlopak

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

x

Plugin version

4.0.0

Node.js version

x

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

22.04

Description

Lets say we have a package called fastify-kafka. getCamelCase modifies the plugin name to fastifyKafka. Now I rename the module to @fastify/kafka. I would actually still expect that the named export is fastifyKafka. But no. It is @fastify/kafka

Steps to Reproduce

See
fastify/fastify-kafka#69

Expected Behavior

I would expect that the name is fastifyKafka

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions