Thanks for the heads up on that pickup man! I have no idea how you found to use the “config” in your package file but it’s working!
You put this in the package.json file:
"config": {
"ionic_copy": "./copy-libs.js"
}
And in the root folder of your Ionic project you make a file called “copy-libs.js”, here’s what I put in mine:
var fs = require('fs-extra')
var dependencies = [
['node_modules/jquery/dist/jquery.min.js','www/libs/jquery.min.js'],
['node_modules/js-md5/build/md5.min.js','www/libs/md5.min.js'],
['node_modules/moment/min/moment.min.js','www/libs/moment.min.js'],
['node_modules/font-awesome/css/font-awesome.min.css','www/libs/fa/font-awesome.min.css'],
['node_modules/font-awesome/fonts','www/libs/fonts']
];
dependencies.forEach(function(value) {
fs.copy(value[0],value[1]);
});