moff / angular2-flash-messages

Angular 2 flash messages module
52 stars 21 forks source link

Rollup.js Config for Ionic #3

Closed jorgeitenjr closed 7 years ago

jorgeitenjr commented 8 years ago

Hi @moff I am trying to use your lib in a Ionic 2 app. But I got the this issue: https://github.com/driftyco/ionic-app-scripts/issues/68 related to rollup.js config. Do you plan to release any updates regarding to that update?

moff commented 8 years ago

Hi @jorgeitenjr!

I went through the issue you've mentioned, but I can't find the guide they promised to provide which would be a great addition.

Please post here error message you receive. Thank you!

moff commented 8 years ago

@jorgeitenjr by the way, I wonder if these imports will work:

import { FlashMessagesModule } from 'angular2-flash-messages/module';
import { FlashMessagesService } from 'angular2-flash-messages/flash-messages.service';
jorgeitenjr commented 8 years ago

Hello @moff, Indeed, I did not find the guide too. The error message is: Error: Module node_modules/angular2-flash-messages/index.js does not export FlashMessagesService (imported by /home/projects/project/src/pages/login/login.ts) at Module.trace (node_modules/rollup/dist/rollup.js:7706:29)