-
-
Notifications
You must be signed in to change notification settings - Fork 173
fastify generate <dir> --esm --lang=ts doesn't generate esm enabled ts project #577
Copy link
Copy link
Closed
Labels
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.0.0
Plugin version
No response
Node.js version
18.12
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.1
Description
fastify generate doesn't seem to work well when multiple options are provided. fastify generate . --esm & fastify generate . --lang=ts both seem to work well. But, combining options fastify generate . --esm --lang=ts doesn't seem to create esm support in the generated ts project.
Steps to Reproduce
mkdir foo && cd foo && fastify generate . --esm --lang=ts
Expected Behavior
The expected behavior is to generate an esm enabled typescript project
Reactions are currently unavailable