Skip to content
Snippets Groups Projects
Commit f44636f1 authored by nweiz@google.com's avatar nweiz@google.com Committed by Natalie Weizenbaum
Browse files

Don't load transformers that aren't going to be used for an executable.

A package's executables may not use all of that package's transformers. This is
especially true for browser frameworks where there's a clear divide between
client-side and server-side code. This uses pub's existing dependency-sniffing
infrastructure to figure out which transformers can be omitted.

This takes "pub run polymer:new_element --help" from 1.52s to 0.96s.

R=rnystrom@google.com
BUG=20859

Review URL: https://codereview.chromium.org//599993004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40659 260f80e4-7a28-3924-810f-c04153c831b5
parent 46967af9
Loading
Showing
with 368 additions and 130 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment