How to use the polyfill-service.getAllPolyfills function in polyfill-service

To help you get started, we’ve selected a few polyfill-service 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 wikipathways / pvjs / gulp / tasks / browserify.js View on Github external
gulp.task('browserify', function(gulpTaskCompleteCallback) {

  var isInitialized = false;

  var polyfillServiceList = polyfillService.getAllPolyfills();
  var packageJson = JSON.parse(fs.readFileSync('package.json'));
  var version = packageJson.version;
  var name = packageJson.name;
  var polyfillsCache = {};

  mkdirp.sync('./dist/' + version + '/');
  mkdirp.sync('./demo/lib/' + name + '/' + version + '/');
  mkdirp.sync('./test/lib/' + name + '/dev/');

//  function inspect() {
//    return highland.pipeline(function(stream) {
//      return stream.map(function(file) {
//        if (file.isNull()) {
//          return file;
//        }
//        return file;

polyfill-service

A polyfill combinator

MIT
Latest version published 6 years ago

Package Health Score

54 / 100
Full package analysis

Similar packages