Skip to content
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

importing polymer-redux with meteor #111

Open
yorrd opened this issue Oct 10, 2017 · 2 comments
Open

importing polymer-redux with meteor #111

yorrd opened this issue Oct 10, 2017 · 2 comments

Comments

@yorrd
Copy link

yorrd commented Oct 10, 2017

I'm having a problem with importing polymer-redux in a meteor/polymer project.
It's saying that PolymerRedux is not defined but I'm pretty sure I am importing it correctly.
I solved the problem by removing the var keyword in front of PolymerRedux in dist/polymer-redux.html. But I don't know if that's a nice way to do this.

@tur-nr
Copy link
Owner

tur-nr commented Oct 10, 2017

Are you bundling? Removing the var will make it global when bundling so that's why it works.

@yorrd
Copy link
Author

yorrd commented Oct 11, 2017

@tur-nr yes, Meteor is bundling. How would you go about solving this properly in your opinion? :)

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

No branches or pull requests

2 participants