-
Notifications
You must be signed in to change notification settings - Fork 486
System.import() is ignored #578
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
Comments
Thanks for the report! Helpful to get the changing lay of the land from webpack world :) In terms of workarounds: In terms of supporting this in documentation.js (and I'll keep this ticket issue to track that task), we'll need module-deps to be able to detect and follow these references. |
https://github.com/thgreasi/babel-plugin-system-import-transformer does the trick. Given that webpack documents System.import, I'm thinking people will use the API. But it's one of many import/require variations going around (kids these days! get off my lawn), so if it fades from popularity, I reserve the right to remove support :) Thanks @thgreasi for implementing |
@tmcw I'm glad that it proved useful for you :) |
Beta of webpack 2 supports
System.import()
to load modules on demand. Files imported this way are ignored when generating documentation.Are there any workarounds for this issue?
documentation build ./src/*
doesn't helpThe text was updated successfully, but these errors were encountered: