https://github.com/icholy/gulp-tsconfig-files
https://github.com/icholy/gulp-tsconfig-files
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/icholy/gulp-tsconfig-files
- Owner: icholy
- License: mit
- Created: 2015-04-30T13:55:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-19T13:35:35.000Z (over 8 years ago)
- Last Synced: 2025-04-13T17:13:20.010Z (3 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tsconfig Files
> Populate the tsconfig `files` array using a glob
## Note: TypeScript 2 supports using globs in `tsconfig.json`
## Example
``` js
var tsconfig = require('gulp-tsconfig-files');gulp.task('tsconfig_files', function () {
gulp.src(['scripts/**/*.ts'])
.pipe(tsconfig());
});
```## Options
``` js
{
absolute: true, // default: false
path: 'tsconfig.json', // default: 'tsconfig.json'
indent: 2, // default: 2
newline_eof: true, // default: false
relative_dir: 'some/folder/', // default: '.'
posix: true, // default: false
sort: false // default: true
}
```