yeoman / yo

CLI tool for running Yeoman generators
http://yeoman.io
BSD 2-Clause "Simplified" License
3.8k stars 396 forks source link

Enable ESNext syntax for generators #801

Open Natejoestev opened 5 months ago

Natejoestev commented 5 months ago

feature

it would be nice to use ESNext syntax in my generator.

I just moved one of my generators to typescript and i'm using import & export. when i use tsc, it can convert to CommonJS, but when i run it, it doesn't like it.

i don't want to have to use require() and exports.

PyaePhyo8612 commented 5 months ago

Resend my email

🐍🕊🤴

On Wed, Dec 20, 2023 at 11:22 PM, Natejoestev @.***> wrote:

feature

it would be nice to use ESNext syntax in my generator.

I just moved one of my generators to typescript and i'm using import & export. when i use tsc, it can convert to CommonJS, but when i run it, it doesn't like it.

i don't want to have to use require() and exports.

— Reply to this email directly, view it on GitHub https://github.com/yeoman/yo/issues/801, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64X2MJQQMRBI52K4MX4GRLYKMJT3AVCNFSM6AAAAABA5D75Y6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TAOJTGQZTGMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>