[Grunt Serve Dist] How to copy file to distribution package without including in index.html


I am using ionic however i have use case where I need to copy “javascript file” to “www/script” folder (using grunt serve:dist) without including it in index.html. because I am loading the javascript file dynamically inside javascript script.

if using yeoman " " it will only include all files inside the build.js.


sounds like you need to modify the grunt file OR use the cordova/phonegap hooks to move the file?



Thanks. yeah, agree seems like that will be the case.