create-adonis-ts-app icon indicating copy to clipboard operation
create-adonis-ts-app copied to clipboard

feat: configure vite

Open Julien-R44 opened this issue 2 years ago • 5 comments

  • Replaces the --encore by --bundler [vite, encore]
  • Add a prompt to select the bundler

image

Julien-R44 avatar Oct 26 '22 23:10 Julien-R44

What if we want none?

Maybe we can ask first if people want an asset manager and then ask for the driver?

RomainLanz avatar Oct 27 '22 06:10 RomainLanz

Oops, you're right, I removed the possibility of not configuring an asset bundle. Thanks

Julien-R44 avatar Oct 27 '22 06:10 Julien-R44

We could also add the option I don't want to bundle my asset and make it the default.

RomainLanz avatar Oct 27 '22 07:10 RomainLanz

that's what we do here, right? Or do you mean we should just rename the "None" option?

image

Julien-R44 avatar Oct 27 '22 07:10 Julien-R44

Oh yes, good like that! The changes were not displayed when I was writing my message. 😄

RomainLanz avatar Oct 27 '22 07:10 RomainLanz

I'm closing because we will probably take a different approach for create-adonis-ts-app for v6

Julien-R44 avatar Apr 30 '23 12:04 Julien-R44