I get have a project where use moment.js and imports moment.js using the recommended import syntax
import * as moment from "moment";
This worked fine in beta-11 but now in rc0 with rollup as part of the build process I get the following error when running ionic serve
[21:14:48] bundle dev started ...
[21:14:54] Error: Cannot call a namespace ('moment')
at error (/Projects/myProject/node_modules/rollup/dist/rollup.js:5406:12)
at CallExpression.bind (/Projects/myProject/node_modules/rollup/dist/rollup.js:5829:5)
at /Projects/myProject/node_modules/rollup/dist/rollup.js:5151:50
at MemberExpression.eachChild (/Projects/myProject/node_modules/rollup/dist/rollup.js:5168:5)
at MemberExpression.bind (/Projects/myProject/node_modules/rollup/dist/rollup.js:5151:7)
at MemberExpression.bind (/Projects/myProject/node_modules/rollup/dist/rollup.js:6693:24)
at /Projects/myProject/node_modules/rollup/dist/rollup.js:5151:50
at CallExpression.eachChild (/Projects/myProject/node_modules/rollup/dist/rollup.js:5168:5)
at CallExpression.bind (/Projects/myProject/node_modules/rollup/dist/rollup.js:5151:7)
at CallExpression.bind (/Projects/myProject/node_modules/rollup/dist/rollup.js:5842:23)
Any help resolving this issue would be greatly appreciated.