Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13216

[browser] Assets are not copied to platform_www on plugin install

    XMLWordPrintableJSON

Details

    Description

      When installing a plugin with an <asset> tag, for example, cordova-plugin-test-framework:

      <asset src="www/assets" target="cdvtests" />
      

      The tag is unrecognized and assets are not copied to platform's www folder.
      Here's an example of output:

      cordova plugin add cordova-plugin-test-framework@https://github.com/apache/cordova-plugin-test-framework
      Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev)
      Installing "cordova-plugin-test-framework" for browser
      unrecognized type asset
      Adding cordova-plugin-test-framework to package.json
      Saved plugin info for "cordova-plugin-test-framework" to config.xml
      

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              alsorokin Alexander Sorokin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: