@taqtile/gulp-module-resolver
Resolve aliased dependencies based on TS Config alias map
Last updated a year ago by taqtile .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @taqtile/gulp-module-resolver 
SYNC missed versions from official npm registry.

gulp-module-resolver

Resolve aliased dependencies based on TS Config paths map

Basic usage

const gulp       = require('gulp');
const resolver   = require('./packages/gulp-module-resolver');
const ts         = require('gulp-typescript');

const tsProject = ts.createProject('tsconfig.json');
const outDir    = tsProject.config.compilerOptions.outDir;

gulp.task('default', () => {
  return tsProject
    .src()
    .pipe(tsProject())
    .pipe(resolver({ rootPath: outDir }))
    .pipe(gulp.dest(outDir))
  ;
});

Current Tags

  • 0.5.0                                ...           latest (a year ago)

7 Versions

  • 0.5.0                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.3-alpha.1                                ...           2 years ago
  • 0.3.3-alpha.0                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 3
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |