diff --git a/build/script.js b/build/script.js index f5d8323bf2c214615003bc0849a16f88946c2f90..7afb4b971233dec4838b52eb38f9ea419261df69 100644 --- a/build/script.js +++ b/build/script.js @@ -59,7 +59,7 @@ gulp.task('scripts:prod', ['angular-templates'], function() { // "foo_flag: null" means that a flag is enabled. compilerFlags: { angular_pass: null, - closure_entry_point: 'module$src$app$frontend$index_module', + closure_entry_point: 'module$index_module', compilation_level: 'ADVANCED_OPTIMIZATIONS', export_local_property_definitions: null, externs: [ @@ -76,7 +76,7 @@ gulp.task('scripts:prod', ['angular-templates'], function() { path.join(conf.paths.externs, '**/*.js'), ], generate_exports: null, - js_module_root: conf.paths.frontendSrc, + js_module_root: path.relative(conf.paths.base, conf.paths.frontendSrc), // Enable all compiler checks by default and make them errors. jscomp_error: '*', // Disable checks that are not applicable to the project.