Skip to content

Conversation

Duder-onomy
Copy link

Manually shims NProgress
wraps the NProgress lib in the support fastboot-transform lib
Changes the required way to import this lib as import nprogress from 'nprogress'; instead of import nprogress from 'ember-cli-nprogress'; as it was previous.
Updates README.md with the proper way to import this lib

Ensures that the NProgress lib does not init in fastboot land, but also ensures that initializer from the consuming app will still have something to import 'nprogress' from.

Manually shims NProgress
wraps the NProgress lib in the support `fastboot-transform` lib
Changes the required way to import this lib as `import nprogress from 'nprogress';` instead of `import nprogress from 'ember-cli-nprogress';` as it was previous.
Updates README.md with the proper way to import this lib

Ensures that the NProgress lib does not init in fastboot land, but also ensures that initializer from the consuming app will still have something to import 'nprogress' from.
@Duder-onomy
Copy link
Author

Duder-onomy commented Feb 22, 2018

NOTE! This changes how people will be importing nprogress
From : import nprogress from 'ember-cli-nprogress'; to import nprogress from 'nprogress';
This would be a major, backwards incompatible, version bump.
Could not make fastboot work without it.

Fixes #7

@Duder-onomy
Copy link
Author

@smashweaver How do you feel about this one ^? Would love to get this merged and point my project back at the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant