You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently CLI is getting a bit bloaty due to added hooks, and is not clearly separated in terms of initializing clipped.
Think might be better to move it to separate package @clipped/cli like @babel/cli
Maybe do it before cac migration
And I think it will be awesome if when some cases can be automated for users.
Examples:
When user installed React and then runs clipped dev, cli can assume behaviour like create-react-app. So install webpack, babel and react plugin and then run the dev hook
If detect index.html in src, automatically use it as template in html-webpack-plugin
Possible issues:
How do I know if user want to use Webpack or Rollup?
How to cleanly revert if, e.g. user uninstalls React and install Vue
Description
Currently CLI is getting a bit bloaty due to added hooks, and is not clearly separated in terms of initializing clipped.
Think might be better to move it to separate package
@clipped/clilike @babel/cliMaybe do it before
cacmigrationAnd I think it will be awesome if when some cases can be automated for users.
Examples:
clipped dev, cli can assume behaviour like create-react-app. So install webpack, babel and react plugin and then run thedevhookindex.htmlin src, automatically use it as template inhtml-webpack-pluginPossible issues:
Suggestions