How to use the aurelia-tools.createImportBlock 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(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / binding / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / loader-default / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / validatejs / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / templating-binding / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github SpoonX / aurelia-form / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      importsToAdd = importsToAdd.filter(function(line) {
        return !paths.importsToIgnoreForDts.some(function(plugin) {
          return line.search(plugin) !== -1;
        });
      });
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github SpoonX / aurelia-orm / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      importsToAdd = importsToAdd.filter(function(line) {
        return !paths.importsToIgnoreForDts.some(function(plugin) {
          return line.search(plugin) !== -1;
        });
      });
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github SpoonX / aurelia-api / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      importsToAdd = importsToAdd.filter(function(line) {
        return !paths.importsToIgnoreForDts.some(function(plugin) {
          return line.search(plugin) !== -1;
        });
      });
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / framework / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));
github aurelia / dependency-injection / build / tasks / build.js View on Github external
.pipe(insert.transform(function(contents) {
      return tools.createImportBlock(importsToAdd) + contents;
    }))
    .pipe(gulp.dest(paths.output));

aurelia-tools

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

MIT
Latest version published 7 years ago

Package Health Score

54 / 100
Full package analysis