3: - for CJS, what kind of tree shaking is required (or is it ok to pull in the entire package) - how acceptable is it to end up with a lot of package duplicates? Is it tolerable? Would it be important to at least provide a warning? Does yarn --flat work?
-
-
4: I think people have a sense that we could just do what browserify would have done, which is definitely possible. I'd feel much better about it if someone wrote up an RFC at least exploring these questions.
1 reply 0 retweets 2 likes -
5/5: fwiw, almost the entirety of why wrapper packages are needed in Ember today is because there is no persistent, long-lived defacto standard about these questions. We could live with whatever, I think, if we at least explored the questions and had answers.
1 reply 0 retweets 0 likes -
(I hope this doesn't come off as dismissive or stalling; I'm hoping to unlock some effort by writing down what thorny issues have made this hard to do historically)
1 reply 0 retweets 3 likes -
Oh, and if the answer to any of the above is configuration: - let's design the config - we'd need to deal with how dependencies are supposed to deal with their own dependencies.
1 reply 0 retweets 2 likes -
I'd also take near-term incremental improvement ideas.
1 reply 0 retweets 0 likes -
Can we copy webpack? (Not all of it, just talking about their approach to all of the above)
1 reply 0 retweets 0 likes -
If we wrote down the answers to the above, and the answer wasn't "webpack implementation details" then absolutely. Webpack's implementation details are in many ways the 2017-era defacto standard, so if we document it and use the same strategy, +1.
2 replies 0 retweets 4 likes -
But "just copy webpack" is not an RFC :)
2 replies 0 retweets 3 likes -
Agree. Just suggesting it can be a good source of inspiration, save bikeshedding and it would be useful to standardize for ppl using both and having the same expectations.
1 reply 0 retweets 0 likes
I don't disagree at all :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.