lasso-js / lasso

Advanced JavaScript module bundler, asset pipeline and optimizer
581 stars 75 forks source link

Async loading is broken when using code splitting #203

Closed patrick-steele-idem closed 7 years ago

patrick-steele-idem commented 7 years ago

The "loader-metadata" should be included in each page since the loader metadata is unique for each page. However, when using code splitting (via the "intersection" dependency) the "loader-metadata" code is being added to the common bundle and will only work for one of the pages.

patrick-steele-idem commented 7 years ago

New version published with fix: lasso@2.11.12