miguelcastillo / bit-bundler-splitter Goto Github PK
View Code? Open in Web Editor NEWbit-bundler plugin for splitting bundles up
License: MIT License
bit-bundler plugin for splitting bundles up
License: MIT License
you can reproduce it here. take a look at "dest/other.js", which has "Main.js" in it even though the module already exists in the bundle "main.js". https://github.com/MiguelCastillo/bit-bundler/tree/master/examples/splitter
When a split is configured as the last entry and does not match any modules, no context is returned. This causes any previously created splits to not be returned in the final result.
The issue is cause by the subroutine that shuffles modules between bundles because they exist in multiple places and these modules that are getting moved around are actually entry modules that need to execute early before the modules in the bundle the main module just got pushed to.
bit-bundler
now provides extra meta data about dependencies that can tell us if a dependency is dynamic or static. It further tells us if the dependency is from an import
call. So we now have enough information to be able to introduce auto splitting of bundles at each dynamic module loading.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.