You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite the polymer compiler as a set of barback transformers, so they can be used for pub serve and pub deploy.
See attached diagram for the current design idea. We still need to add a few more transformers (e.g. optimizations to do scoped css at compile-time for example).
I've started already with this approach, here is the current status:
- observe transform (done, see observe package)
- inline code extractor (started)
- html import inliner (started)
- script compactor (started)
- dart2js transform (rnystrom has started, blocked by some refactoring changes in dart2js)
the following transformers are now submitted in the Dart repo:
- inline code extractor (done)
- html import inliner (done)
- script compactor (done)
We've added a deploy script that uses transformers to create the output of a project.
Next:
- delete old compiler code (I've started with this, it will take some time because some pieces were not ported over initially and need to be ported)
- add transformers for css
- simplify the analyzer code (remove analysis work that was only necessary for codegen)
Rewrite the polymer compiler as a set of barback transformers, so they can be used for pub serve and pub deploy.
See attached diagram for the current design idea. We still need to add a few more transformers (e.g. optimizations to do scoped css at compile-time for example).
I've started already with this approach, here is the current status:
- observe transform (done, see observe package)
- inline code extractor (started)
- html import inliner (started)
- script compactor (started)
- dart2js transform (rnystrom has started, blocked by some refactoring changes in dart2js)
Attachment:
[polymer serve-deploy architecture.png](https://storage.googleapis.com/google-code-attachments/dart/issue-12511/comment-0/polymer serve-deploy architecture.png) (14.58 KB)
The text was updated successfully, but these errors were encountered: