Skip to content

add more arguments for polymer-transformer #14326

@sigmundch

Description

@sigmundch

Allow passing arguments in the pubspec.yaml file that let you configure options of the polymer's transformer plugin. For example, whether to change the html to use a .js file, or a csp .js file.

Here is an idea for what the options format could be:

transformers:

  • polymer:
        entry_points: web/index.html
        js_only: false # is true by default
        csp: true # only used when js_only is true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions