@@ -62,17 +62,17 @@ gulp.task('scripts:prod', ['angular-templates'], function() {
62
62
// "foo_flag: null" means that a flag is enabled.
63
63
compilerFlags : {
64
64
angular_pass : null ,
65
- closure_entry_point : 'module$ index_module' ,
65
+ entry_point : 'index_module' ,
66
66
compilation_level : 'ADVANCED_OPTIMIZATIONS' ,
67
67
export_local_property_definitions : null ,
68
68
externs : [
69
- path . join ( conf . paths . nodeModules , 'google-closure-compiler/contrib/externs/angular-1.4 .js' ) ,
69
+ path . join ( conf . paths . nodeModules , 'google-closure-compiler/contrib/externs/angular-1.5 .js' ) ,
70
70
path . join (
71
71
conf . paths . nodeModules ,
72
- 'google-closure-compiler/contrib/externs/angular-1.4 -http-promise_templated.js' ) ,
72
+ 'google-closure-compiler/contrib/externs/angular-1.5 -http-promise_templated.js' ) ,
73
73
path . join (
74
74
conf . paths . nodeModules ,
75
- 'google-closure-compiler/contrib/externs/angular-1.4 -q_templated.js' ) ,
75
+ 'google-closure-compiler/contrib/externs/angular-1.5 -q_templated.js' ) ,
76
76
path . join (
77
77
conf . paths . nodeModules , 'google-closure-compiler/contrib/externs/angular-material.js' ) ,
78
78
path . join (
@@ -92,10 +92,14 @@ gulp.task('scripts:prod', ['angular-templates'], function() {
92
92
'inferredConstCheck' ,
93
93
// Let ESLint handle all lint checks.
94
94
'lintChecks' ,
95
+ // This checks aren't working with current google-closure-library version. Will be deleted
96
+ // once it's fixed there.
97
+ 'unnecessaryCasts' ,
98
+ 'analyzerChecks' ,
95
99
] ,
96
100
language_in : 'ECMASCRIPT6_STRICT' ,
97
101
language_out : 'ECMASCRIPT3' ,
98
- manage_closure_dependencies : true ,
102
+ dependency_mode : 'LOOSE' ,
99
103
use_types_for_optimization : null ,
100
104
} ,
101
105
compilerPath : path . join ( conf . paths . nodeModules , 'google-closure-compiler/compiler.jar' ) ,
0 commit comments