dart - Turn off dart2js during pub build -


i writing custom transformer pub build. turn off compilation of dart files js during debugging of transformer save time. possible?

currently, simplified pubspec.yaml is

name: my_proj dependencies:     polymer: transformers:     - my_proj 

there no option pub build pub serve --no-dart2js.

you temporary modify file

dart/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart in dart install directory , set usedart2js 'false'.

see https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart#56

i haven't tried myself think should work.

or exclude web directory dart2js transformer in pubspec.yaml

transformers: - $dart2js:     $exclude: web 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -