[ https://issues.apache.org/jira/browse/CB-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649098#comment-13649098 ]
Michal Mocny commented on CB-3317: ---------------------------------- In our case, as plugin devs: the plugin assets are not js files, they are html/css/image etc assets that are loaded automatically from the js-module js files. The assets change over time, and are really an internal detail of the plugin and not necessary for the app author to know about. And in our case, as app devs: we treat cordova workspaces as temporary, and link app dir to a git repo. If the cordova-cli tools injected files inside app dir, we would have to have gitignore. And, as plugin assets change (see above), we would have to update gitignore, and the details of the plugin would leak into our app. Moving plugin assets into app/www folder wouldn't be the end of the world, but we've found an alternative & better solution I think, unless there are other compelling reasons to do so? Your example is to inform an app developer that they need to include a script, but I think that is best done in a plugin's README and not by just dropping files inside the app folder -- and for that matter, why would a plugin dev not just automatically inject it via js-module, anyway? > extend plugman with optional www_dir parameter > ---------------------------------------------- > > Key: CB-3317 > URL: https://issues.apache.org/jira/browse/CB-3317 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugman > Reporter: Filip Maj > Assignee: Anis Kadri > > Allows the user to specify the location of a project's www directory. > Useful if the www directory is actually housed outside of a cordova project. > cordova-cli would depend on this. Developers sharing code between a standard > mobile web site and cordova applications could see benefits from this as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira