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
{{ message }}
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
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
Suggestions
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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/cli
like @babel/cliMaybe do it before
cac
migrationAnd 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 thedev
hookindex.html
in src, automatically use it as template inhtml-webpack-plugin
Possible issues:
Suggestions
The text was updated successfully, but these errors were encountered: