https://github.com/nealst/gulp-ts-paths
处理 tsconfig.json 中 paths alias 构建的 gulp 插件
https://github.com/nealst/gulp-ts-paths
Last synced: 11 months ago
JSON representation
处理 tsconfig.json 中 paths alias 构建的 gulp 插件
- Host: GitHub
- URL: https://github.com/nealst/gulp-ts-paths
- Owner: NealST
- Created: 2023-05-09T09:22:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T10:01:02.000Z (about 3 years ago)
- Last Synced: 2025-05-07T06:49:20.097Z (about 1 year ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## gulp-tsconfig-paths
### 能力介绍
处理 tsconfig.json 中 paths alias 构建的 gulp 插件
### 如何使用
```typescript
import aliasTsconfigPaths from 'gulp-tsconfig-paths';
import { src, dest } from 'gulp';
const tsCompilerOptions = require('./tsconfig.json').compilerOptions;
src(['src/index.ts']).pipe(aliasTsconfigPaths(tsCompilerOptions)).pipe(dest('lib'))
```