Describe the feature
Create a CLI (distributed via the million) package that:
- Automatically detects the environment (e.g. Next.js, Vite, Webpack), or if not available, prompt options to pick a compatible build tool (Currently compatible with: Next.js, Gatsby, Astro, Vite, Create-React-App, Webpack, Rollup, Rspack, Esbuild). See installation page
- Create or update the config with Million.js auto mode options. Provide a diff so it is not destructive. If this is Next.js, make sure to detect for App router (RSC mode for auto mode)
- Be able to call this via CLI (e.g.
npx million@latest)
- Provide a fallback to the installation page if failed: https://million.dev/docs/install#use-the-compiler
- Add documentation on this feature (ideally the default path for installation)
Additional information
Describe the feature
Create a CLI (distributed via the
million) package that:npx million@latest)Additional information