Skip to content

Pub build/serve/run does not support defining environment variables #798

Closed
@DartBot

Description

@DartBot

<img src="https://avatars.githubusercontent.com/u/1148886?v=3" align="left" width="96" height="96"hspace="10"> Issue by butlermatt
Originally opened as dart-lang/sdk#15806


Currently dart2js supports -D option to define environment variables. See Seth's blog post:

http://blog.sethladd.com/2013/12/compile-time-dead-code-elimination-with.html

Currently pub build will not accept (let alone pass) -D arguments to dart2js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions