ng2-ui / popup

Angular2 Modal Directive
https://ng2-ui.github.io/#/popup
MIT License
11 stars 7 forks source link

webpack integration #5

Closed jsirney closed 7 years ago

jsirney commented 7 years ago

I am converting my app to use webpack, ng2-popup fails to be resolved. worked fine in systemjs.config. import { Ng2PopupModule } from 'ng2-popup'; intellisense shows this valid but I get this on the console: Uncaught SyntaxError {_nativeError: Error: Unexpected value 'Ng2PopupModule' imported by the module 'AppModule' at SyntaxError.BaseE…}

allenhwkim commented 7 years ago

The recent version. 0.4.0, should be webpack friendly. Please re-install ng2-popup and try again.

jsirney commented 7 years ago

Could not get it to upgrade until I put the version 0.4.0 into package.json file. Also had to upgrade ng2-overlay as well.