Cordova Build - ignore files

前端 未结 6 693
孤街浪徒
孤街浪徒 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:46

    Hidden (.*) folder & files will be ignored by default

    All hidden files and folders will be ignored while build for example .git/ & .gitignore

    To hide : Rename the folder by a . (dot) prepended to the folder/file name.

    To Rename a folder with .(dot) at start you may need CLI

    Use Terminal in Linux/Mac to rename the folder.

    mv dev .dev
    

    Use cmd in Windows

    ren dev .dev
    

提交回复
热议问题