I am trying to migrate my Ionic 2 beta 11 project to RC0. Now finally my project passes the ngc phase but now I get an error in the console:
Uncaught ReferenceError: output is not defined
Looking at the location of the error it seems to be related to the DateJS package that I installed with npm. My guess is that with the new rollup build process something is behaving differently while minifying, because with beta 11 is worked just fine.
I am less familiar with the various build processes out there. What would be the best strategy to overcome this? Is there some setting that I should add to rollup somewhere? Should I instead use an already minified version of DateJS instead of the npm module (which does not contain a minified version as far as I can see). The latter seems ugly…
Thanks for your input.