Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
fix(Compiler): Use correct defaults for Barback.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 161610752
  • Loading branch information
matanlurey committed Jul 12, 2017
1 parent 294c51c commit 33dccb9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion angular/lib/src/transform/transformer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class AngularTransformerGroup extends TransformerGroup {
settings,
defaultTo: new CompilerFlags(
genDebugInfo: settings.mode == BarbackMode.DEBUG,
useLegacyStyleEncapsulation: true,
),
),
);
Expand Down
1 change: 0 additions & 1 deletion angular/lib/transform/codegen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class CodegenTransformer extends TransformerGroup {
settings,
defaultTo: new CompilerFlags(
genDebugInfo: settings.mode == BarbackMode.DEBUG,
useLegacyStyleEncapsulation: true,
),
),
);
Expand Down
2 changes: 1 addition & 1 deletion angular_compiler/lib/src/flags.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class CompilerFlags {
this.entryPoints: const [],
this.profileFor: Profile.none,
this.useLegacyStyleEncapsulation: false,
this.usePlaceholder: false,
this.usePlaceholder: true,
});

/// Creates flags by parsing command-line arguments.
Expand Down

0 comments on commit 33dccb9

Please sign in to comment.