Might need to make code in rack_server recursive for this to work. Depends on if Sprockets returns back immediate includes or nested ones. Could add a test that does nested dependencies. We would want to check 1) that everything functions, 2) that the metadata includes the correct stuff and 3) the JS doesn't include what's already split out.
Might want some MRI tests that cover getting dependencies out of Sprockets and some integration tests that hit a running Karma instance.
Might need to make code in rack_server recursive for this to work. Depends on if Sprockets returns back immediate includes or nested ones. Could add a test that does nested dependencies. We would want to check 1) that everything functions, 2) that the metadata includes the correct stuff and 3) the JS doesn't include what's already split out.
Might want some MRI tests that cover getting dependencies out of Sprockets and some integration tests that hit a running Karma instance.