Skip to content

Automatic dependency detection #186

@tgecho

Description

@tgecho

So especially with the advent of the ExternalAssets branch, manually defining depends is getting even more old. I put together a proof of concept (https://gist.github.com/3915553) and it seems to be working out fairly well so far.

I'm not committed to the actual parsing method or the specific regexes, but they work for css/scss urls() and @imports.

Reading through the source, it seems that the biggest concern is in the performance of scanning all of the dependencies, especially as each of those can have dependencies and so on. I haven't put this through any serious paces yet, but personally I'm thinking it'll be worth it.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions