Make all typedefs work without provide/require

This commit is contained in:
Andreas Hocevar
2016-06-14 16:18:43 +02:00
committed by Peter Robins
parent 2c29512c80
commit 1d20215bfa
6 changed files with 16 additions and 26 deletions

View File

@@ -206,6 +206,7 @@ function build(config, paths, callback) {
concatenate(paths, callback);
} else {
log.info('ol', 'Compiling ' + paths.length + ' sources');
paths = paths.concat('src/ol/typedefs.js');
options.compile.js = paths.concat(options.compile.js || []);
closure.compile(options, callback);
}