lasso-js / lasso

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

Lasso loader metadata is stored in global which can cause conflicts #145

Closed philidem closed 8 years ago

philidem commented 8 years ago

If multiple JavaScript libraries built by lasso are included on the same page, their "loader metadata" can have conflicts. Loader metadata is global so if two of the JavaScript libraries happen to use the same async package name, then the last loaded package definition will clobber the previous package definition.

I have a fix ready.