solidjs-community / solid-cli

A custom CLI built for Solid.
https://solid-cli.netlify.app/
MIT License
61 stars 11 forks source link

Decrease `@solid-cli/create-solid` size #26

Closed Tommypop2 closed 1 year ago

Tommypop2 commented 1 year ago

Currently this package is huge as it brings in SWC even though it doesn't need it. The solution is likely either to split commands into core_commands, and commands. Another option is making @solid-cli/core the place for the core commands, and creating a new package for the main build of the cli, such as @solid-cli/cli. This also might make the naming scheme a little easier to understand

Tommypop2 commented 1 year ago

Solved by bundling all dependencies with create-solid, so tree shaking can effectively remove what isn't needed