angular2-notifications
angular2-notifications copied to clipboard
SystemJS loading
This line in the configuration: 'angular2-notifications': { main: './dist/index.js', defaultExtension: 'js' }
points the entry point for this library. The problem is that /dist/index.js is a typescript (or ES6) file.... So, the browser (Chrome or sytemjs) cannot charge it.....
The problem seems to be that SystemJS tries to load traceur to compile the file down to es5, which is probably what most of us have configured their SystemJS to emit.
Configuring the systemjs-babel-plugin from npm solved the issue. I still ran into other issues with SystemJS though.
I solved it rolling back to 0.5.3, issue #190
Hi flauc! I just wanted to ask if you will provide a fix for this issue to enable loading the package through the SystemJS file.
Thanks in adv.
This was fixed for me in 0.7.6