Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 11, commits. Failed to load latest commit information. Fixup 48eec6d. Mar 6, Sep 19, Aug 17, Merge Feb 27, Bump man pages month. Mar 4, For Ruby 2. Fix test issue when using rubygems-bundler gem. Dec 19, Aug 2, Specify your dependencies in a Gemfile in your project's root:.
Install all of the required gems from your specified sources:. Get involved Bundler has a lot of contributors and users, and we would love to have your help!
If you have questions, join the Bundler Slack and we'll try to answer them. Artificial Intelligence. Cloud Computing. Data Science. Angular 7. Machine Learning. Data Structures. Operating System. Computer Network. Compiler Design. Computer Organization. Discrete Mathematics.
Ethical Hacking. Computer Graphics. All the modules are "flatten" into the bundle. There is no function wrapping of modules. In our example, both circle. One of the side effects of not wrapping module with a function is the behavior of eval , see here for more in-depth explanation. Secondly, the order of the modules within the bundle matters.
So, sorting modules in order of their dependency matters for the "rollup way". All in all, the "rollup way" seemed to be better than the "webpack way". It has a smaller bundle and less runtime overhead by removing all the functions. Well, sometimes it does not work well with circular dependency. Let's take a look at this contrived example:. In this example shape. So, for rollup to sort out which module to come first than another in the output bundle, there's no "correct" answer for it. Either circle.
So, you could possibly get the following output bundle:. A "simple" fix is to not use a circular dependency.
0コメント