I'm rebuilding my Ionic 2 app to work in the RC.0 and I'm having an issue with Charts.js. I'm using the ng2-chartjs2 module which works well, but it also needs the Charts.js 2.0 library included in the index.html. I can easily add a script tag to www/index.html - and it works - but on every build it disappears. I presume this is because rollup is re-writing the index.html file on each build and removing the script tag.
How can I get around this? Do I need to configure the rollup build stage to include the Chart.js library? If so, how do I achieve this?
Thanks in advance, Phil