-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Cordova project detection. #529
Comments
I think this is an invalid assumption. Even if you build with frameworks like the ones you mentioned, you can always gitignore the files that are actually built/generated. e.g: I use react in my projects, with my source files inside a |
Yes you can use git ignore like:
Which will deploy I think we should consider to change this behavior. What's wrong to detect it by the config.xml and maybe package.json only. Regardless of the use of the www folder. |
I think not having to rely on the presence of the Currently we have this implemented similarly (if not identically) in at least:
where the version in |
And I think we should check for |
Since this issue affects multiple repositories, I am going to close this in favor of apache/cordova#155 |
Feature Request
Motivation Behind Feature
Currently a Cordova project is detected by the
config.xml
and the folderwww
(empty or not).The www folder is a deployment folder which should not included in git repo. You only use the www as source folder if you develop vanilla html and js without any framework. But the real life scenario is that you build an app with e.g. Angular, Vue, React, etc. and set the www as dist-folder.
Feature Description
Cordova should detect its project workspace by the config.xml or package.json only. Not the www-folder.
Alternatives or Workarounds
I have to ensure the existence of the temp folder www. But this is a pain.
The text was updated successfully, but these errors were encountered: