Ship flat bundles instead of a lib folder
See original GitHub issueBased on this blogpost by the React core team we should ship flat bundles instead of the lib
folder we have right now. Essentially, rather than shipping tons of files we’d only ship two bundles that contain the CommonJS code.
This will make it possible for us to experiment with Google Closure Compiler, ref #1360.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Make Maven to copy dependencies into target/lib
Works for me with dependencies directory created in target folder. Like it! ... Maven will bundle the dependencies into the right location.
Read more >Bundle Structures - Apple Developer
Explains how to use bundle objects to organize resources.
Read more >bundle install - Bundler
Makes a bundle that can work without depending on Rubygems or Bundler at runtime. A space separated list of groups to install has...
Read more >Publishing flat npm packages for easier import paths & smaller ...
I recently published a library on npm named react-dom-primitives . ... So, instead of publishing from the root directory of the project ...
Read more >bundle install fails with Gem::Ext::BuildError #1175 - GitHub
I'm using mysql2 gem with the Gemfile definition as platforms :ruby do gem 'mysql2' gem 'pg', '~> 1.1' end But what happens is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Going to prepare a PR for this.
Nice 👍. The angular team also ships their libs as FESM (Flat ES Modules). Here’s the spec they use: https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs
Also gave a talk about it last week: https://youtu.be/K4YMmwxGKjY. Maybe it helps 🙂