question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

need for ember-browerify

See original GitHub issue

This isn’t an issue so much as a question … I notice both redux and the redux-think middleware are being included as part of the normal NPM build process but wasn’t sure why you’re using browserify and your import statements are “npm:redux”, etc.

Second part of this would be … would using SystemJS be a reasonable alternative or do you prefer Browserify?

Sorry for the silly question.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
yankeeinlondoncommented, Sep 13, 2016

@dustinfarris there was a great video from a guy in Germany about his experience with SystemJS and Ember (and I know he was talking to the core team at that point). I know that a lot of people believe SystemJS is better solution outside the Ember landscape but I’m really not an expert on either. Let me see if I can dig up a link for that video though … here it is:

SystemJS, JSPM, and Ember

Came out in late 2004 so it’s a bit dated but I think many of his points are still worthy of a watch if you’re interested.

1reaction
dfreemancommented, Sep 13, 2016

For packages distributed with UMD/globals builds, a number of addons are using ember-cli-node-assets. The addon is basically just sugar for creating a broccoli tree for an npm package and then app.importing stuff from it, without all the extra build effort and runtime machinery that Browserify requires.

To support stuff like import redux from 'redux'; you could either package a vendor-shim or try out the fancy new anonymous AMD support that landed in this ember-cli PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found