Cordova Build - ignore files

前端 未结 6 694
孤街浪徒
孤街浪徒 2021-02-08 10:58

When compiling a cordova application every single file in my /www folder gets copied to the assets/www folder(android) but I\'d like to customize what

6条回答
  •  悲哀的现实
    2021-02-08 11:31

    This is what I'm doing. I've moved the src files for the app that was in www folder to another folder created in root - web-app. Next, the following script was added in package.json :

    This surely needs to be refined, but am working with it as makeshift arrangement.

    Good Luck...

提交回复
热议问题