stealjs / steal-tools

Build easy. Load fast.

Home Page:https://stealjs.com/docs/steal-tools.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slim loader incorrect shared bundles configuration

m-mujica opened this issue · comments

when there are bundles with the same name but different buildType (e.g details.css and details.js)

the slim loader might incorrectly match the shared bundles with the bundle containing css, we need to figure out a way to match the build type, too.

https://github.com/stealjs/steal-tools/blob/master/lib/node/make_slim_config_node.js#L69-L73

That code breaks with the data below, both bundles have the same name in bundle.bundles.

screen shot 2018-02-01 at 2 23 49 pm