sveltejs / cli

The Svelte CLI
MIT License
261 stars 11 forks source link

"--" not required for CLI flags in Yarn anymore #219

Closed dispherical closed 1 month ago

dispherical commented 1 month ago

When scaffolding a new project using npx sv create, it suggests that you run yarn run dev -- --open, but it seems like -- isn't really isn't needed anymore

warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.