How to use the aurelia-tools.extractImports function in aurelia-tools

To help you get started, we’ve selected a few aurelia-tools 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 MarcScheib / aurelia-notify / build / tasks / build.js View on Github external
.pipe(through2.obj(function(file, enc, callback) {
      file.contents = new Buffer(tools.extractImports(file.contents.toString('utf8'), importsToAdd));
      this.push(file);
      return callback();
    }))
    .pipe(concat(jsName))
github aurelia / binding / build / tasks / build.js View on Github external
return src.pipe(through2.obj(function(file, enc, callback) {
      file.contents = new Buffer(tools.extractImports(file.contents.toString('utf8'), importsToAdd));
      this.push(file);
      return callback();
    }))
    .pipe(concat(jsName))
github aurelia / loader-default / build / tasks / build.js View on Github external
return src.pipe(through2.obj(function(file, enc, callback) {
      file.contents = new Buffer(tools.extractImports(file.contents.toString('utf8'), importsToAdd));
      this.push(file);
      return callback();
    }))
    .pipe(concat(jsName))
github aurelia / validatejs / build / tasks / build.js View on Github external
return src.pipe(through2.obj(function(file, enc, callback) {
      file.contents = new Buffer(tools.extractImports(file.contents.toString('utf8'), importsToAdd));
      this.push(file);
      return callback();
    }))
    .pipe(concat(jsName))
github aurelia / templating-binding / build / tasks / build.js View on Github external
return src.pipe(through2.obj(function(file, enc, callback) {
      file.contents = new Buffer(tools.extractImports(file.contents.toString('utf8'), importsToAdd));
      this.push(file);
      return callback();
    }))
    .pipe(concat(jsName))

aurelia-tools

Tools and utility functions used to build and develop Aurelia's libraries.

MIT
Latest version published 6 years ago

Package Health Score

51 / 100
Full package analysis