library polymer.transformer


Transfomer used for pub-serve and pub-deploy.

Functions

createDeployPhases(TransformOptions options, {String sdkDir}) → List<List<Transformer>>

Create deploy phases for Polymer. Note that inlining HTML Imports comes first (other than linter, if options.linter is enabled), which allows the rest of the HTML-processing phases to operate only on HTML that is actually imported.

readFileList(value) → dynamic

Classes

PolymerTransformerGroup

The Polymer transformer, which internally runs several phases that will: * Extract inlined script tags into their separate files * Apply the observable transformer on every Dart script. * Inline imported html files * Combine scripts from multiple files into a single script tag * Inject extra polyfills needed to run on all browsers.