How to use the opensphere-build-closure-helper.compile function in opensphere-build-closure-helper

To help you get started, we’ve selected a few opensphere-build-closure-helper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ngageoint / opensphere / tasks / xt / build.js View on Github external
}
  return path;
};

var resolveAndUpdate = function(key) {
  if (Array.isArray(options[key])) {
    options[key] = options[key].map(resolvePath);
  } else if (typeof options[key] === 'string') {
    options[key] = resolvePath(options[key]);
  }
};

var pathKeys = ['js'];
pathKeys.forEach(resolveAndUpdate);

compile(options);

opensphere-build-closure-helper

Helper functions for working with opensphere-build-resolver and the Google Closure Compiler

Apache-2.0
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Popular opensphere-build-closure-helper functions