I can’t find the build process for Ionic2. Maybe like a config.js or something, which doesn’t seem to exist. The problem is that ionic already copies index.html
, manifest.json
, and service-worker.js
from src to www, but I also need it to copy browserconfig.xml
. Am I missing something big here? There seems to be no place where the build process is performed. This is a fresh install of Ionic2.
So this seems to work, if you are searching and land here:
add
"config": {
"ionic_copy": "./config/copy.config.js"
},
to your package.json then make a folder “config” in your project’s root and copy the contents of https://raw.githubusercontent.com/driftyco/ionic-app-scripts/master/config/copy.config.js into your own copy.config.js file. Edit away!
Thanks @duydao