-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails when use systemjs.config.js #11
Comments
I can't comment exhaustively right now. The service works with the Angular-cli recently moved away from systemsjs to Webpack. The original typescript source for this package is compiled to two I suspect that the angular seed project is not setup to import es6 modules. When I have a minute I will look into adding a rollupjs generated UMD Sorry but I am currently only on cell... On Sep 22, 2016 6:41 PM, "Vitali Cernomschi" notifications@github.com
|
I have done some initial tests with Rollup, which would imply including a bundled version of the service and the related d3 modules in UMD format. It worked with an angular-seed clone I pulled down. By work I mean, without any other changes to the project setup to support es2015 modules and simply adding a one-liner to the element and attaching a
|
Require more testing, the UMD definitions work fine with angular-cli webpack in |
After further review, the issue should be addressed on the side of the module loader configuration (i.e. systemjs), so that the loader imports ES6 modules. This is required to obtain live-bindings necessary or
Closing. |
I am getting error
zone.js:1274 GET http://localhost:3000/traceur 404 (Not Found)
when addd3-ng2-service
in systemjs.config.jsSteps to reproduce:
Expected result: All components are displayed without errors;
Actual result: Getting error 404.
I use the following systemjs.config.js:
The text was updated successfully, but these errors were encountered: